HTML <select> Element Reference

The HTML <select> element creates a control for choosing one or more options.

<select>

HTML <select> Element Reference

The HTML <select> element creates a control for choosing one or more options.

Categories

  • Forms

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical select element example.

<label>Country
  <select name="country">
    <option value="de">Germany</option>
    <option value="us">United States</option>
  </select>
</label>

Related references

Description

The HTML <select> element creates a control for choosing one or more options.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <select> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies