spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

NOC Engineer (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use


HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Selectable Option

<option> ... </option> (opt.)

Description: Indicates items in a selectable list.

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

Attributes:
  • class
  • dir
  • disabled
  • id
  • label
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • selected
  • style
  • title
  • value

Code Example:

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

XHTML Notes: The closing </option> element is required.




Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Build a Searchable Online Employee Directory with ASP.NET · Top 10 New Features in CSS 3 · Fine Tuning Your Java 6 Database-Driven ResourceBundle
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
FCoE -- the Glue That Holds Networking and Storage Together · The Evolution of Phone-based Applications · Is Cisco's WPA Migration Mode Leaving Wi-Fi Users at Risk?

Created: March 15, 2005

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