textarea (multi-line input)
textarea elements allow entry of multiple lines of text into a form.
- From Form-associated:
- All in Input
No note with name p.r.comp.lang.markup.html.attr.autocomplete found in vault public
autofocusfocuses the input when it or its parent dialog are made visible.
colssets the number of columns per line.
rowssets the number of rows to show.
dirnameindicates the name of the form field to use for submission of the field's text directionality.
disabledindicates that the control should be disabled.
formallows explicit association of the element with a form (using its
minlengthsets the minimum length of the value (in UTF-16 code units).
maxlengthsets the maximum length of the value (in UTF-16 code units).
namespecifies the name of the input control, and the name against which the value will be submitted. Without this, the value will not be included in submissions.
placeholdertext is displayed to the user in the form as an example/hint of what is expected.
readonlybehaves similarly to
disabled, but the input's
valuewill still be submitted along with the form.
requireddetermines whether an empty
valuewill pass validation.
wrapcontrols text wrapping:
hardhas the browser insert line breaks (CRLF) in the text to ensure no line has more than
softensures that all line breaks are CRLF, but doesn't insert any additional line breaks.
The element value will have newlines normalised as