HTML - Mark Tag


Description

The HTML <mark> tag specifies a text highlighted for reference purposes, that is for its relevance in another context.

Example

<!DOCTYPE html>
<html>

   <head>
      <title>HTML Mark Tag</title>
   </head>

   <body>
      <h2>Cricketers in India</h2>
      <p>Sachin Tendulkar is <mark>god</mark> of cricket.</p>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in − HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in − HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes
html_tags_reference.htm
Advertisements