textareas

Discussion in 'HTML & Website Design' started by Danago, Dec 20, 2006.

  1. #1
    Hey. How do i make the default value of a textarea have the <textarea> tags in it. So for example, lets say i want the textarea default value to be:

    <textarea></textarea>

    When i do this:
    <textarea><textarea></textarea></textarea>
    HTML:
    I get a textarea with a default value of just <textarea>.

    Any help?
    Thanks,
    Dan.
     
    Danago, Dec 20, 2006 IP
  2. bizoppz

    bizoppz Peon

    Messages:
    1,889
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to use
    &lt;textarea&gt;&lt;/textarea&gt;
    Code (markup):
    otherwise it will be construed as HTML.
     
    bizoppz, Dec 20, 2006 IP
  3. Danago

    Danago Active Member

    Messages:
    106
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Ohhhh i see. Yea didnt think of that :p

    Thanks for the help
     
    Danago, Dec 20, 2006 IP