HTML - Select Element

> (World Wide) Web - (W3|WWW) > HyperText markup Language (HTML)

1 - About

n HTML, <select> creates a drop-down list.

Advertising

3 - Example

For example, this HTML creates a drop-down list of colors:

<select>
  <option value="blue">Blue</option>
  <option value="yellow">yellow</option>
  <option value="red">Red</option>
  <option selected value="green">Green</option>
</select>

web/html/select.txt · Last modified: 2019/02/09 11:29 by gerardnico