The <textarea> Tag in HTML 5

The <textarea> tag is used to create a multiple-line text input area in an HTML form. For a single line of text input, use the <input> tag instead.

The textarea tag's content should include only text. It should not have any child elements, such as style tags, for example. As in any HTML code, ampersands should be escaped with &amp;.


This is an actual working demo of the <textarea> example code below.