Вебмастер
Санкт-Петербург
Частный вебмастер Услуги Контакты Справочная информация Статьи и публикации Полезные сервисы Букварь вебмастера
   Букварь вебмастера

Тег OPTION


OPTION

<OPTION
CLASS=string
ID=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
SELECTED
TITLE=string
VALUE=string
event = script
>

Denotes one choice in a select list.

CLASS=
Specifies the class of the tag being defined. This is most often used to associated a sub-classed style sheet with the tag.
ID=
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include underbar "_".
LANGUAGE=
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
SELECTED
Indicates that this item is the default. If not present, the first item is selected by default.
TITLE=
The Title attribute is used to provide advisory information.
VALUE=
For textual/numerical controls, specifies the default value of the control. For Boolean controls, specifies the value to be returned when the control is turned on
event
Can be one or more of these events:

onselectionchange onselectstart

This element is a block element.

The start tag is required, and the end tag is optional.

Смотрите далее: P »

  Теги HTML
ihc hosting