You are currently using a web browser that does not support HTML 5 with style sheets. Please try the standard HTML 5, XHTML 1 or XHTML 1 Mobile version of this page instead.

The <mark> Tag

The <mark> tag in HTML 5

The <mark> tag can be used to highlight a fragment of text from another source that was not necessarily highlighted by the original author. For example, a search engine might highlight the words on a web page that match the user's search terms or perhaps you want to point out some specific words in a quotation.

<mark> Tag Syntax

Syntax of the <mark> tag

Attributes of the <mark> Tag

Attributes of the <mark> tag

attribute
The attribute
common attributes
In addition to the attributes above, which are specific to the <mark> tag, any of the common HTML attributes can also be used.
HTML 5 Examples

Examples of the mark tag in HTML 5


Changes in HTML 5

What's new in HTML 5

The <mark> tag is brand new in HTML version 5.

Differences between HTML 5 and earlier versions

The <mark> tag did not exist in older versions of HTML.

Last updated Saturday September 4, 2010


Printer-friendly PDF* format:

HTML <mark> Tag

You are currently viewing this page in HTML 5 Style Sheet* format (* see Clicklets for more infomation). This document is also available in HTML 5 XML*HTML 5 non-XML*XHTML 1 Style Sheet*XHTML 1*XML* HTML 4* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.