< html‎ | elements
Jump to: navigation, search



Represents a run of text that has been marked or highlighted.

Overview Table

DOM Interface HTMLElement



<h3>Wormhole Physics Introduction</h3>
black hole).</p>
radiation can travel in both directions through a wormhole,
but matter cannot.</mark></p>
using sufficiently advanced dialing technology.</p>
wormhole connection.</mark></p>



When used in the main prose of a document, the mark element indicates a part of the document that has been highlighted. When used in a quotation or other block of text (such as an aside), it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text. For example, the following are valid uses for the mark element:

  • Bring attention to a particular string of text.
  • Highlight parts of document that match a search string.
  • Enable body text to refer to a specific part of a quotation or code fragment.

Windows Internet Explorer 9. The mark element is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility. The mark element denotes the relevance of a span of text. To indicate importance, use strong or em. The default CSS for the mark element is:

color: black;
background-color: yellow;

Standards information

There are no standards that apply here.

HTML information




Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?


Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • Reference
  • em
  • strong

This article contains content originally from external sources.
