December 5, 2007

How to add HTML code in blogger post?

Many of you may know how to show HTML code in your post. That is by replacing < with and replacing > with
If you have more angular bracket in your code you can use notepad to replace < code >. Copy all your code in notepad and go to ‘Edit’ – Replace - and type < in ‘Find what’ and type in ‘Replace with. Do the same for > with .
Here is another, even simple method. Go to Simplebits and copy and paste all your code in the markup box and press ‘Process’ and it will spit out entity-encoded markup suitable for < code >. Now you can copy and paste it in your post.

6 comments: