HTML and CSS Reference
In-Depth Information
Name
mark
Synopsis
<mark> . . . </mark>
Not in HTML 4.01 . Represents a selection of text that has been marked or highlighted for
reference purposes or to bring it to the attention of the reader. Marked text is considered to be
of particular relevance to the user.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
In this example, a user's search query (“estate tax”) is marked in the returned document:
<p> ... PART I. ADMINISTRATION OF THE GOVERNMENT. TITLE IX.
TAXATION. CHAPTER 65C. MASS. <mark> ESTATE TAX </mark> .
Search WWH ::




Custom Search