This page may be out of date. Submit any pending changes before refreshing this page.
Hide this message.

Why did the specifiers of HTML decide to create a separate TEXTAREA tag instead of adding its features to the INPUT tag?

I realize that textarea allows one to specify the height and width of the input box, but couldn't that have been done by adding properties to the input tag?  I'm interested in what considerations led to the decision to making textarea its own entity.
1 Answer
Carlos Bueno
Carlos Bueno, MemSQL
248 Views
Textareas were intended for "multiline" input. So far so good, but why a separate tag? Because a linebreak inside a value="" attribute was not considered well-formed.

http://www.w3.org/TR/REC-html32#...