Click to See Complete Forum and Search --> : dont evaluate tags


dabush
02-23-2003, 08:14 PM
what is the tag to tell the browser not to interpret a tag but to display it as is. For instace if this were the HTML of a document

This text<br>is all on one line

would normally display

This text
is all one one line

but i want it to say

This text<br>is all on one line

pyro
02-23-2003, 08:20 PM
You need to code it like this:

This text&lt;br&gt;is all on one line

because:
&lt; = <
&gt; = >

dabush
02-23-2003, 08:22 PM
i know that, but im almost sure i remember reading about a specific tag that just makes it so it doesnt evalute tags.

pyro
02-23-2003, 08:29 PM
I could be wrong, but I don't think so...

Charles
02-23-2003, 08:41 PM
There is a tag, but it's not HTML. You're much better off using the entities.