[5.0 Website]script

script — A script in the head of a webpage.

Synopsis

script ::=

  • text

Attributes

Common attributes.

Additional attributes:

  • language
  • src
  • type

Description

The script element represents an HTML script element.

It’s likely that putting a script element in the HTML namespace in the head is clearer.

Processing expectations

Rendered as a script element in the HTML head.

Attributes

Common attributes.

language

The script language

src

The script src

type

The script type

See Also