HTML Form - SELECT and OPTION element Cont.
- The label attribute of the OPTGROUP element specifies the label for a group of choices.
- The <OPTION> element defines a item of the SELECT element
- The <OPTION> element can be pre-selected with the SELECTED attribute
- The initial state has the first option selected, unless a SELECTED attribute is
present on any of the <OPTION> elements.
Attributes:
-
- NAME="text"
- This attribute assigns the control name.
-
- SELECTED
- When set, this boolean attribute specifies that this option is pre-selected
Copyright © 1994-2002
World Wide Web Consortium
All Rights Reserved.
previous slide |
next slide
Return to Beginning of Presentation
Return to Software Development Library