Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)

Scripting language is made available to process data and perform other dynamic events through the script element.

<script>...</script>

Usage

Contains client-side scripts that are executed by the browser.

Start/End Tag

Required/Required.

Attributes

type="..."Script language Internet content type.

 

src="/books/2/631/1/html/2/..."The URL for the external script.

Deprecated

language="..."The scripting language, deprecated in favor of the type attribute.

Empty

No.

Notes

You can set the default scripting language in the meta element.

<noscript>...</noscript>

Usage

Provides alternative content for browsers unable to execute a script.

Start/End Tag

Required/Required.

Attributes

None.

Empty

No.

Категории