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:

<mark>content</mark>

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

HTML 4.0.1

  • HTML 4 does not support <mark> tag.

HTML 5

  • <mark> tag new in HTML5.

Sample Coding for <mark> tag:

Tryit<!DOCTYPE html>
<html >
    <head>
        <title>Wikitechy mark tag</title>
    </head>
    <body>
        <h2>Wikitechy mark tag</h2>
        <p>
           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>
        </p>
    </body>
</html>

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

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×