How do you get a scroll box to post html codes?

Whenever I try all these different scroll boxes to post my whore me code, it shows that actual image of the whore me generator. How do you make it just show the html code so people can see the code but not see what the code is for? I hope you get what I am saying cuz it is kind of confusing the way I said it.

Public Comments

  1. I think I understand your question. If you want to display the code and not have the browser actually parse it, you would surround it in <pre></pre>. eg. <pre> <p>Hello</p> </pre> Output: <p>Hello</p>
  2. yea i do get u \i used to one i used <text></text>
  3. if the ones those two said won't work, try my suggestion. instead of the scrollbox code, use this: <textarea> your code </textarea> HOPE I HELPED! .minnie
  4. To get any HTML code to show up as code you'll need to convert the <> to &"lt"; &"gt"; and quote to &"quot"; etc... first answer with < pre > could do the job as well and there is the < code > tag yet possibly working, too
Powered by Yahoo! Answers