How do I print the "html" tag, including '<' and '>'? How can I do this for any tag, without using text areas and Javascript?
Use HTML character references:
<html>
Should output
<html>