HTML value attribute
value attribute defines the initial value in the input field, user visible name of the button, customized list item markers, and the values of options for the puprpose of user interface.
Attribute values
All possible values of value attributeThe value of value attribute is plain text or valid floating point number.
Related Tags
The tags that support value attribute<input> tag
-
It defines an input field that allows the user to enter data. value attribute specifies the initial value in the input control. The user can interact with value and modify the value. The current value is submitted with the form.
<option> tag
-
option tag defines an option. This value is sent with the form.
-
Preview ExampleTry itExample
<select> <option value=""> <option value="[email protected]">Chips <option value="[email protected]">Chad </select>