PDA

View Full Version : how to write out a tag


Mgkeeper
07-23-2002, 05:14 PM
i want to know how to write a tag so that people can actually see it like this:

<html>

Instead of it starting an html document i want it to show up

jkd
07-23-2002, 05:55 PM
&amp;lt;html&amp;gt;

Use entities. Or a CDATAsection:

<![CDATA[
<html>
]]>

Mgkeeper
07-23-2002, 06:04 PM
does the cdata thing work for any tag???

Sk8er9547
07-23-2002, 06:32 PM
Use the symbol code.

&lt; for <
&gt; for >

That way, it works cross browser, and for every tag!