If you wish to share codes on your blog and does not want them to be executed, here is the trick I used on blogger
Follow these simple steps:
- Copy the code in notepad
- Use 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)
- Use replace (or Ctrl+H) again 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)
- Copy the edited code from notepad into the Blogger post
- And you are done
What have you done? The & l t ; is another way of telling the browser to show a <.
Sample blog - http://www.gyandope.co.cc/2010/12/how-to-add-poll-within-blogger-post.html
This site is my inhalation , rattling fantastic design and perfect articles .
ReplyDelete