Results 1 to 4 of 4

Thread: tips for remembering textarea

  1. #1
    Join Date
    May 2014

    tips for remembering textarea

    textarea is not an input type. it is its own element. after not working with textarea for a while, one might forget that it's not an input type and attempt to code it as <input type='textarea'>. i want to see if anyone might have a good suggestion on remembering that textarea is coded as <textarea>. to me, it would make more sense to make the textarea an input type, why they made it a separate element is beyond me.

  2. #2
    Join Date
    Apr 2010
    You raised a very salient issue and i'm beginning to think about it. There must really be a reason textareas have their own tags rather than using the input tag with their own attributes. As far as remembering it is concerned, you just have to get used to it.
    Acceptable Use Policy

  3. #3
    Join Date
    Aug 2004
    Maybe just think of it being different in that you can have pre-filled text between the start and end tag of a textarea, whereas that would not make sense with input tags (though it does with button tags)?
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  4. #4
    Join Date
    May 2014
    nogdog, that's what i was thinking exactly. the pre-filled text could be really long and putting it between the start and end tags make sense. i'll use that as a way of remembering that it has its own tags.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center