HTML: The Markup Language (an HTML language reference)

markmarked (highlighted) text NEW # T

The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Tag omission #

A mark element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements

DOM interface #

Uses HTMLElement.

Typical default display properties #

mark {
background-color: yellow;
color: black; }