Using the <text> Element
Technical summary
Value | A string representing the text contained in the text field. | |
Events |
change and
input
|
|
Supported Common Attributes |
autocomplete ,
list ,
maxlength ,
minlength ,
pattern ,
placeholder ,
readonly ,
required and
size
|
|
IDL attributes | list , value |
|
DOM interface |
|
|
Methods |
select() ,
setRangeText()
and
setSelectionRange() .
|
|
Implicit ARIA Role |
with no list attribute:
textbox
|
with list attribute: combobox |