Forum Moderators: open

Message Too Old, No Replies

how do i post HTML as text? help help help!

displaying HTML as text

         

alayna is cool

10:24 pm on Jun 26, 2006 (gmt 0)

10+ Year Member


hello.

i am making a layout site on myspace but i can't figure out how to post the code for the layout as text without the site decoding it as HTML. what do i do?

alayna is cool

10:44 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



you know so that the people viewing my site can see the codes....sorry i just had to make it more understandable...

Iguana

10:46 pm on Jun 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Substitute

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

alayna is cool

11:06 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



i'm not too HTML savvy so i still tried it and it didn't work...

eelixduppy

12:08 am on Jun 27, 2006 (gmt 0)



Welcome to WebmasterWorld alayna is cool!

Besides substitution, as described above, you can also put it into a textarea so that it will be scrollable:


<textarea cols='50' rows='20'>
<html>
<body>
Code to show
</body>
</html>
</textarea>

It all depends on how you want to show it.

Good luck!

DataToolz

3:27 am on Jun 27, 2006 (gmt 0)

10+ Year Member



In your example change only the opening pointy bracket as described above.

&lt; for <

It should work a treat, I use that on our reciprocal link page on our site.