V5.0 Websitestyle

style — A style section in the head of a webpage.

Synopsis

style ::=

  • text

Attributes

Common attributes.

Additional attributes:

  • src
  • type

Description

The style element represents an HTML style element.

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

Processing expectations

Rendered as a style element in the HTML head.

Attributes

Common attributes.

src

The style src

type

The style type

See Also

Related elements: keywords, meta, script.