autofocus
Definition and Usage
The autofocus attribute of select tag is a boolean attribute. When present, it specifies that the drop-down list should automatically get focus when the page loads. This allows the user to start using the control without having to select it first. There must not be more than one element in the document with the autofocus attribute specified.
If the attribute is present, its value must either be the empty string or a value that is an ASCII case-insensitive match.
Possible values:
- [Empty string]
- autofocus