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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.