rundellt2000
08-24-2003, 01:10 AM
This is a tutorial I made, it's on my site. Enjoy!
Showing HTML
There are three ways of doing this-adding character codes, the XMP tag, and text boxes.
Pointers
Replace the "<" sign/s with this:
&lt;
and the ">" sign/s with this:
&gt;
XMP tag
This also acts as a double and can display things like &lt/&gt without it turning into "<" or ">"!
<xmp>your HTML you want to show goes here</xmp>
Text Boxes
Also known as text areas, these are good for long pieces of code, like Javascripts.
<form><textarea name="name" rows="#" cols="#">HTML you want to show</textarea></form>
*edited by admin: text area doesn't work on Netscape without form tags :D
Change the rows and cols attributes to change the size, and make a name for it!
That's all there is to it.
Showing HTML
There are three ways of doing this-adding character codes, the XMP tag, and text boxes.
Pointers
Replace the "<" sign/s with this:
&lt;
and the ">" sign/s with this:
&gt;
XMP tag
This also acts as a double and can display things like &lt/&gt without it turning into "<" or ">"!
<xmp>your HTML you want to show goes here</xmp>
Text Boxes
Also known as text areas, these are good for long pieces of code, like Javascripts.
<form><textarea name="name" rows="#" cols="#">HTML you want to show</textarea></form>
*edited by admin: text area doesn't work on Netscape without form tags :D
Change the rows and cols attributes to change the size, and make a name for it!
That's all there is to it.