Wednesday, June 24, 2009

How to display HTML code in a browser.

How can I show HTML code without the browser rendering it?

Replace '&' with '&'
Replace '<' with '&lt;'
Replace '>' with '&gt;'

See the following link for more detailed info:
http://allmyfaqs.net/faq.pl?Show_HTML_examples

No comments: