Jagan Jagan - 6 months ago 12
HTML Question

printing "<html>" using html

How do I print the "html" tag, including '<' and '>'? How can I do this for any tag, without using text areas and Javascript?

Answer

Use HTML character references:

&lt;html&gt;

Should output

<html>