Text areas are used to enter multiple lines of text into a form.
The size of the area is defined by attributes rows and cols.
Syntax:
<textarea cols="" rows=""></textarea>
Attributes:
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information)
- name (<select>) (elements name)
- readonly (read-only input controls)
- disabled (disabled input controls)
- tabindex (<select>) (tabbing navigation)
- rows, cols (textarea size)
- onfocus, onblur, onselect, onchange, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)
Example
HTML textarea element:
Comments
No comments have been made yet.
Please login to leave a comment. Login now