The Web Design Group

OPTION - Selection list option


This element is also available in our updated HTML 4 reference. Some characteristics may have changed.

Appearance: <OPTION> [</OPTION>]
Attributes: VALUE=string, SELECTED
Contents: Plain text.
May occur in: SELECT.

The OPTION tag is used inside a SELECT selection list to indicate an option. You may not use markup in an option. All options listed will be displayed in a list or drop-down box, and the user can select one or more from the list. The VALUE of each option should be unique.

If you specify the SELECTED attribute, this option will appear selected when the form comes up initially.

Notes:

HTML 3.2 Reference  ~ Elements by Function  ~ Elements Alphabetically


Home, Forums, Reference, Tools, FAQs, Articles, Design, Links

Copyright © 1996 - 2006. Web Design Group All rights reserved.