Make your own free website on

Making HTML Code Display

If you want people to be able to see actual HTML code on your webpage, simply use the <xmp> tag (and its closeing tag).

This code could come in handy if you ever want to teach people HTML yourself.


However, this tag is somewhat obsolete, so if you are paticularly uptight about "clean code" then using a combination of the <pre> tag and the character codes &lt; for <, and &gt; for > would be better.