Why isn't textarea an input[type="textarea"]?

Diogo Cardoso picture Diogo Cardoso · Apr 12, 2011 · Viewed 114.1k times · Source

Why is there an element <textarea> instead of <input type="textarea">?

Answer

Marcel picture Marcel · May 30, 2011

Maybe this is going a bit too far back but…

Also, I’d like to suggest that multiline text fields have a different type (e.g. “textarea") than single-line fields ("text"), as they really are different types of things, and imply different issues (semantics) for client-side handling.

Marc Andreessen, 11 October 1993