Line 27: Line 27:
 
</select>
 
</select>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 
<label for="pet-select">Choose a pet:</label>
 
<label for="pet-select">Choose a pet:</label>
 
<select name="pets" id="pet-select">
 
<select name="pets" id="pet-select">
Line 52: Line 54:
 
</select>
 
</select>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
<label for="pet-select">Choose a pet:</label>
 
<label for="pet-select">Choose a pet:</label>
 
<select name="pets" id="pet-select">
 
<select name="pets" id="pet-select">

Revision as of 23:11, 13 December 2022

Name

option

Type

input

Synopsis

How to render an option input field. Mostly used within the input select fields.

Description

The Missing value attribute.

   
   
   
   
   
   

</select> </syntaxhighlight>


Note

See also input/select from the menu on the right

Links

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option for all the details.