Tuesday, January 12, 2010

How to insert HTML or Javascript or PHP code into a Blogger post?

How to insert HTML or Javascript or PHP code into a Blogger post?
  1. Copy the code into your NOTEPAD!
  2. Use Edit->Replace (or Ctrl+H) and in find all the < and replace them with & l t ; (delete the spaces between the characters, without spaces you would just see another < here) 
  3. Use Edit->Replace (or Ctrl+H) and in find all the > and replace them with & g t ; (delete the spaces between the characters, without spaces you would just see another > here)
  4. Copy the code from NOTEPAD into the Blogger post
  5. And you are done
What have you done? The & l t ; is another way of telling the browser to shov a <.

2 comments:

  1. i didn't find any code here. pls help me

    ReplyDelete
  2. This is something that Blogger needs to address. WP has this feature and is working perfectly, and with Blogger tailing, they should also incorporate this within their platform.

    white label seo

    ReplyDelete