Indicates whether a text box accepts multiple lines of input or only a single line.
Note: In most user agent implementations, the default behavior of the ENTER or RETURN key is different between the single-line and multi-line text fields in HTML. When user has focus in a single-line <input type=”text”> element, the keystroke usually submits the form. When user has focus in a multi-line <textarea> element, the keystroke inserts a line break. The WAI-ARIA textbox role differentiates these types of boxes with the aria-multiline attribute, so authors are advised to be aware of this distinction when designing the field.
Example coming soon
Used in Roles
Inherits into Roles
Value representing either true or false. The default value for this value type is False, unless otherwise specified.
- False (default)
- This is a single-line text box.
- This is a multi-line text box..
Use the HTML <textarea> tag.
rows="10" cols="50">Write something here</textarea>
- W3C (opens new window)