Selection List | WebReference

Selection List

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Selection List

<select> ... </select>

Description: Designates a selection list within a form.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • dir
  • disabled
  • id
  • lang
  • multiple name
  • onblur
  • onchange
  • onclick
  • ondblclick
  • onfocus
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • size
  • style
  • tabindex
  • title

Code Example:

<select name="colors">
    <option>Blue
    <option>Green
</select>



Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/