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

Тег SCRIPT


SCRIPT

<SCRIPT
EVENT=string
FOR=string
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
SRC=string
TITLE=string
event = script
>

Specifies a script for the page that will be interpreted by a script engine.

EVENT=
Specifies the event the script is being written for.
FOR=
Specifies which element is being bound to the event script.
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 "_".
LANG=
This specifies the language to use. The specifier is an ISO standard language abbreviation.
LANGUAGE=
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
SRC=
Specifies an external file that contains the source code.
TITLE=
The Title attribute is used to provide advisory information.
event
Can be one or more of these events:

onreadystatechange

onselectstart

Code within the SCRIPT block that are not contained within a function are executed immediately as the page is loaded. To keep scripts from being displayed on down-level browsers, the SCRIPT block should be nested within a comment block.

This element is a block element.

Both the start and end tags are required.

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

  Теги HTML
ihc hosting