The html5 tutorials

 
About HTML5
Home
Introduction to HTML5
Features of HTML5
Older versions Vs. HTML5
 
Tags  
source
article
aside
audio
canvas
command
datalist
details
embed
figcaption
figure
footer
header
hgroup
keygen
mark
meter
nav
output
progress
ruby
section
summary
time
video
wbr
 

The <mark> Tag

The <mark> tag is used to mark and highlight text or portions of text in a document just like a marker which is used to mark certain words and sentences in a document.

Mark tag is used to highlight that a part of the text to bring the reader's attention to that part of the text.

Example code:

<html>
  <body>
    <p>This part will not be highlighted whereas <mark>This part will be highlighted</mark></p>
  </body>
</html>