Text

Example

1

Description

Properties

Property Name Description
alt alternate text to display if the browser does not support text fields
defaultValue default text value of the text field
disabled whether the text field is disabled
form form containing the text field
maxLength maximum length, in characters, the text field will accept
name name of the text field
readOnly whether text field is read-only
size size of the text field in characters
type returns "text"
value value of the text field

Methods

Method Name Description Values