In this tutorial, We will inform you about the <mark> tag in html5. This tag is used to highlight the text in the html document. The highlighted text get the much more emphasis with the surrounding text . We can mark the text using many properties from global attributes of html5 e.g. by changing font ,background color ,font color etc. This tag must have opening and closing <mark> tag.
The syntax of the <mark> tag is as:
|<mark>Your Text Here</mark>|
This tag have no specific attribute , Only global attribute is used with this tag.
<title>Example of mark Tag</title>
<body>The normal text here.<br>
This is the marked text.</mark>
<br> Marked text is highlighted.
Difference between HTML5 and HTML4
This is the new introduction in html5.
Posted on: September 10, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles