HTML Level 1 and 2 Manual

Home | Element Index | Forms | Screens & Colours | GIFs | Layout | Compatibility


Element Index > Forms

<OPTION> Element

Category: Forms
Period: HTML 2.0 Level 2
Status: core

Description

Defines one choice inside SELECT.

Syntax

<OPTION VALUE="lynx">Lynx

Attributes

SELECTED, VALUE.

Usage Guidelines

Common Mistakes

Example Code

<SELECT NAME="level">
<OPTION VALUE="1">Level 1
<OPTION VALUE="2" SELECTED>Level 2
</SELECT>

Authoring Note

Write the document first, then test it in a graphical browser and a text browser. The page should remain understandable if images fail, colours are ignored, or the browser uses its own fonts.


Top | Home | All Elements

HTML Level 1 and 2 Manual.