Multi-Line Text Field | WebReference

Multi-Line Text Field

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Multi-Line Text Field

<textarea> ... </textarea>

Description: Creates a multi-line text input field within a form container, e.g. <form></form>

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • accesskey
  • class
  • cols
  • dir
  • disabled
  • id
  • lang
  • onblur
  • onchange
  • onclick
  • ondblclick
  • onfocus
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • onselect
  • readonly
  • rows
  • style
  • tabindex
  • title

Code Example:

<form action="http://dot.com/cgi-bin/gotcha.pl" method="post">
<textarea name="comments" rows="20" cols="80">
</textarea>
<input type="submit" value="Submit"><input type="Reset">
</form>



Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/