Difference between revisions of "Option (HTML element)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "In HTML, the '''X''' element represents an option in a select element or as part of a list of suggestions in a Dl (HTML element)|...")
 
(No difference)

Latest revision as of 20:10, 1 May 2016

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