Option (HTML element)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

In HTML, the X element represents an option in a select element or as part of a list of suggestions in a datalist element.

Examples

<select name="select">
  <option value="val1">Value 1</option> 
  <option value="val2">Value 2</option>
  <option value="val3">Value 3</option>
</select>

See also

External links