promotion image of download ymail app
Promoted

How do i put an html code into one of those text boxes?

how do i put an html code into a text box , making the code appear as the way it was typed up, with the actual tags and stuff. I don't want any pictures of anything, just the actual code in the box

3 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    Is this what you want?

    <textarea cols="72" rows="12" name="message" font-weight: 700;">Enter text here.</textarea>

    Now if you are going to enter HTML code inside the box, you have to do it this way:

    <textarea cols="72" rows="12" name="message" font-weight: 700;">& lt;textarea cols="72" rows="12" name="message" font-weight: 700;">Enter text here.& lt;/textarea></textarea>

    Remove the space for & lt; for the correct entity code.

    Ron

    Source(s): Web designer
    • Commenter avatarLogin to reply the answers
  • Anonymous
    1 decade ago

    hi, i just tried this

    <html>

    <body>

    <input type=text value="<p>trying out some text</p>" />

    <body>

    <html>

    • Commenter avatarLogin to reply the answers
  • Anonymous
    1 decade ago

    did you try <quote>? not sure if that will work. try it. paraphraph would probaby work ;)

    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.