html tutorial - <mark> Mark Tag in HTML - html5 - html code - html form

mark tag

Learn html - html tutorial - mark tag - html examples - html programs

  • The <mark> tag is used to highlight the content.
  • The <mark> tag generally used for highlight the relevant content in a context.
  • The <mark> tag will also support both Global Attribute and Event attribute.
  • <mark> tag belongs to Flow content, Palpable content and Phrasing content category.

Syntax for <mark> tag:


Differences between HTML 4.01 and HTML 5 for <mark> tag:

HTML 4.0.1

  • HTML 4 does not support <mark> tag.


  • <mark> tag new in HTML5.

Sample Coding for <mark> tag:

Tryit<!DOCTYPE html>
<html >
        <title>Wikitechy mark tag</title>
        <h2>Wikitechy mark tag</h2>
           Learn to Code in <mark>Wikitechy.</mark><br>
           Teach people how different technologies are organized Covers a Variety of 
           topics in <mark>Wikitechy.</mark><br>
           Learn Everything Easily in <mark>Wikitechy.</mark>

Code Explanation for <mark> tag:

<mark> Tag Code Explanation

  1. <mark> tag is used to highlight the wikitechy word in the document.

Output for <mark> tag:

<mark> Tag Output

  1. Here we can see the highlighted text “Wikitechy” which is given within the <mark> tag.

Browser Support for <mark> tag in HTML:

Yes Yes Yes Yes Yes

Related Searches to <mark> tag in html