Приглашаем посетить
Булгарин (bulgarin.lit-info.ru)

XHTML Scripts

Previous Page
Table of Contents
Next Page

XHTML Scripts

Scripts make it possible to process data and perform other dynamic events. Scripts are included in web pages thanks to the <script> element, which also identifies the specific scripting language being used (JavaScript, VBScript, and so on.).

<noscript></noscript>

Usage

Provides alternative content for browsers unable to execute a script.

Start/End Tag

Required/Required.

Attributes

core, i18n, events.

Empty

No.


<script></script>

Usage

The <script> element contains client-side scripts that are executed by the browser.

Start/End Tag

Required/Required.

Attributes

type="scripttype" Script language Internet content type.

src="scripturl" The URL for the external script.

defer="defer" Indicates that the script doesn't alter document content.

Empty

No.

Notes

You can set the default scripting language in the <meta /> element.



Previous Page
Table of Contents
Next Page