Line 6: Line 6:
 
How to render an option input field. Mostly used within the input select fields.
 
How to render an option input field. Mostly used within the input select fields.
 
===Description===
 
===Description===
The <option> HTML element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.
+
The <option> HTML element is used to define an item contained in a < select >, an < optgroup >, or a < datalist > element. As such, < option > can represent menu items in popups and other lists of items in an HTML document.
  
 
===Parameters===
 
===Parameters===

Revision as of 23:13, 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.