• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / HTML / Tags / HTML Mark Tag

HTML Mark Tag

August 12, 2013 by techhoneyadmin

HTML Mark TagHTML Mark Tag <mark> is used to mark certain portion of text from the HTML resource or webpage.

In other words, we can say that whenever we want to mark or highlight certain portion of text in HTML resource we use the Mark Tag <mark>.

Mark Tag is a closed tag and needs a closing Mark Tag </mark>.

Note: Mark Tag is new in HTML 5.


Syntax of HTML Mark Tag

<mark>
Some text ..
</mark>

Example of HTML Mark Tag

HTML Mark Tag Code Output
<p> I have to attend a 
<mark> meeting @ 3 </mark>pm today</p>
I have to attend a
meeting @ 3 pm today

In the output of the HTML Mark Tag example above we can see that the text “meeting @ 3” within the Mark HTML Tag is being displayed highlighted and that’s the usage of Mark Tag in HTML.

HTML Mark Tag Supports all HTML Global Attributes and HTML Event Attributes.


HTML Mark Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes (from IE-9 onwards)
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Tags Tagged With: Example of html mark tag, Highlight text in html using Mark tag, How to highlight text in html, How to use HTML mark tag, HTML Mark Tag, html mark tag syntax and example, HTML Tag Mark, HTMLMarkTag, Mark HTML Tag, Mark Tag HTML, Syntax of html mark tag, Tag HTML Mark, Tag Mark HTML, Using HTML Mark tag, What is the use of HTML mark tag

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in