Sunday, February 24, 2013

How to write html/javascript code in blogger blog post?

Method 1

  1. Open notepad and paste your code in it.
  2. Hit ctrl+h or choose Edit > Replace
  3. In Find what: box type < and in Replace with: box type &lt;
    and hit Replace all button .
  4. Similarly for > type > in Find what: box and &gt; in Replace with: box.
  5. Your are done, the code is ready to be used in your post.    



Method 2:
The next method is the official solution from blogger. If you need to write html code in your post just select post options and in compose settings choose Show HTML literally. Any code now written will not be interpreted as HTML.

You will done well.


No comments:

Post a Comment

If you like my post ,Don't forget to THANKS.