Friday, May 8, 2009

How to Post HTML Code on Your Blog

Ever wanted to post some HTML code in a Blogger post only to find that Blogger does not have code tags? The quick solution is to replace all "<" and ">" characters with their HTML entity equivalents "& lt;" and "& gt;".

Or you can use a simple JavaScript client side HTML escaper. Just paste your HTML code in the textarea and click "Escape!"

No comments:

Post a Comment