Home Home -> HTML Reference -> Tag Reference - select

Tag Reference - select

Description

Attributes


class
The CSS style class to be applied to this tag. This could be used, for example, to create a style for "important" items, using a line in the style sheet as below:

.important { font-color: red }

This can be applied to the tag as follows:

<b class="important">This is important.</b>

dir
Overrides the direction of the text from the standard direction. "rtl" displays the text from right to left, "ltr" from left to right.

disabled
This attribute disables a form element, preventing it from accepting input.

id
A unique alphanumeric identifier used to identify this object/tag. This identifier can be used in scripting languages to refer to the tag or object.

lang
The language of the text enclosed by this tag, as defined in RFC 1766 (eg en-gb for British English).

multiple

name
Defines a name for this tag - in <a> tags it may be used in a hyperlink to jump directly to the tag's location.

size
Sets the size of the font, as either a number from 1-7 or a relative value, +/-3. The actual point size depends on the browser.

style
Inline style-sheet information.

tabindex
This identifies the object's position in the tab order of the page when the TAB key is pressed.

title
Advisory text for this tag - this could define an abbreviation or acronym, explain where a link goes or provide some other useful description.