SELECT
![[Local Convention]](/icons/dtdguid2.gif)
Used only in forms, the SELECT element allows
the user to chose one of a set of alternatives described by textual
labels in a FORM. Every alternative is
represented by the OPTION element.
Typical rendering
SELECT is typically rendered as a pull down or pop-up list.
Example
<SELECT NAME="flavor">
<OPTION>Vanilla
<OPTION>Strawberry
<OPTION>Rum and Raisin
<OPTION>Peach and Orange
</SELECT>
Content
- option -- A selection option (in form)
ATTRIBUTES
CONTENT DECLARATION
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: REQUIRED
Parent Elements
- a -- Anchor; source and/or destination of a link
- address -- Address, signature, or byline for document or passage
- applet
- b -- Bold text
- big
- blockquote -- Quoted passage
- body -- Document body
- caption
- center
- cite -- Name or title of cited work
- code -- Source code phrase.
addresses and URLS.
- dd -- Definition of term
- dfn
- div
- dt -- Term in definition list
- em -- Emphasized phrase
- font
- form -- Fill-out or data-entry form
- h1 -- Heading, level 1
- h2 -- Heading, level 2
- h3 -- Heading, level 3
- h4 -- Heading, level 4
- h5 -- Heading, level 5
- h6 -- Heading, level 6
- i -- Italic text
- kbd --
Keyboard phrase, e.g. user input
- li -- List item
- marquee
- multicol
- noscript
- p -- Paragraph
- pre -- Preformatted text
- samp --
Sample text or characters
- small
- strike
- strong -- Strong emphasis
- sub
- sup
- td
- th
- tt --
Typewriter text
- u
- var --
Variable phrase or substitutable
Top Elements
All Elements
Tree
htmlx DTD