Display HTML in HTML

Posted in HTML by

If you want to display HTML code to your visitors, you should continue reading. The solution is dead simple.

display HTML code in HTML


Instead of writing the opening and closing, you replace them with their escaped equivalent. &lt; and &gt;

the above exmaple would be


It is easy to rememeber, because lt means lower than and gt means greater than.

Published at , Updated at 2011-10-25

next: Introduction to HTML