View Full Version : Show code on page


Elentari
03-13-2004, 11:59 PM
How do I show my code on my page? I was using the > and stuff but it makes odd spacing....help please.

pom
03-14-2004, 12:06 AM
You could use a textarea. Or I think <xmp> :D

Something like that. ;)

bobbobbobbob
03-14-2004, 12:30 AM
<Text area name="code"
rows="10"
cols="30">


CODE HERE


</textarea>

Elentari
03-14-2004, 02:01 AM
There has to be a better way to do it rather then having to resort to a text area as well as the <xmp> tags don't seem to work at all.

Dude128
03-14-2004, 02:09 AM
well if you have the patience, you can replace every < character with &lt; and every > with &gt; :)

salomeyasobko
03-14-2004, 02:10 AM
if you type ctrl+F it'll find every single &lt thing for you, so you won't have to scroll through the code to find all of them [and potentially miss one] :D

PagodaPanda
03-14-2004, 04:18 AM
<textarea>

HTML/CSS CODE HERE!

</textarea>

On neopets pet pages, use

<text_area>

HTML/CSS CODE HERE!

</text_area>