| SELECT |
|
| This tag is used in a selection list within a form. The OPTION tag is used to specify the items of the list. For example: |
|
| The programming language you are studying is:
<SELECT MULTIPLE NAME="LINGO">
<OPTION VALUE="1">JAVA
<OPTION VALUE="2">PERL
<OPTION SELECTED VALUE="3">HTML
</SELECT> |
|
| SELECT Attributes: |
|
| ACCESSKEY=" ... " |
| Assigns a key sequence to the element. That is, a letter is assigned that would activate that object. For example, you could assign the letter "I" to activate a link to the 'Index' page. |
|
| CLASS=" ... " |
| This attribute indicates the style 'class' applicable to the tag to which it has been assigned, the style 'class' being a function of a style sheet. For example, assume the style class 'relaxed' includes text with a font size of 8, and the style class 'active' includes text with a font size of 12. Using the CLASS="relaxed" attribute with a tag will cause the text within that tag to be displayed with a font size of 8. Using the CLASS="active" attribute with a tag will cause the text within that tag to be displayed with a font size of 12. |
|
| DATAFLD=" ... " |
| This attribute allows the selection, or identification, of a column of table data. |
|
| DISABLED |
| This attribute will disable access to the selection list. |
|
| ID=" ... " |
| The ID attribute is used to assign a unique ID selector (identification) to the tag in which it is invoked. A style may be assigned to that ID, which will effect only that one instance of the attribute. |
|
| MULTIPLE |
| This attribute allows more than one selection from the list at one time. |
|
| NAME=" ... " |
| This tag is used to mark a location within a document with a unique name. This named location can then be quickly moved to by means of a hyperlink using the HREF="#URL" attribute. Note the pound (#) sign before the URL. The pound sign used in this way indicates to the browser that the target location has been defined by the NAME=" ... " attribute. |
|
| READONLY |
| This attriute will disallow any changes to the input from the selection list. |
|
| SIZE="n" |
| This attribute defines the number of items which will be displayed in the selection list box. Scroll bars will automatically be used if neccessary. |
|
| STYLE=" ... " |
| Used to specify which style sheet commands to apply to the instance of the STYLE attribute invoked within the tag. |
|
| TABINDEX="n" |
| This attribute defines the 'tabbing order' of the document. For example, assume a document has ten fields, numbered one to ten, which require your input. The first field, with TABINDEX="1", is the active field. Pressing the tab key would move the cursor to TABINDEX="2", regardless of its physical location within the document. |
|
| TITLE=" ... " |
| The TITLE attribute is used to display a note or information in a popup window pertaining to the object to which it was assigned. The popup window is invoked by holding the mouse pointer over the object. |
|
This tag also accepts the following Event Handlers:
onAfterUpdate
onBeforeUpdate
onBlur
onChage
onClick
onDblClick
onDragStart
onFocus
onHelp
onMouseDown
onMouseUp
onMouseOver
onMouseMove
onMouseOut
onKeyPress
onKeyDown
onKeyUp
onResize
onRowEnter
onRowExit
onSelectStart |