Click to See Complete Forum and Search --> : Write commands that is shown at my site and not read as commands


Throntel
12-03-2005, 03:13 PM
How do I make commands work as text and not commands?
I'll explain futher, say I want to write <br> on my site, but I want it to show and not be read as a command... You might still not understand me :P But maybe an example will help:

I want:
You can do this <br> haha.

And not:
You can do this
Haha.

So in other words I want the browser to see <br> as text and not a command, how do I do this?

felgall
12-03-2005, 03:21 PM
use

&lt; for <
&gt; for >
&amp; for &

Throntel
12-03-2005, 04:02 PM
Okey, Thanks