Slide 1
Slide 2
Slide 3

Mark tag in HTML5 (HTML-V27)

No Comments

9.6. <mark> Tag
When you want to highlight specific text in a heading, you should use the <mark> tag.
The <mark> tag is used to show selected or important text. It usually has a yellow background to draw attention.
 Source Code:

Copied!
<!DOCTYPE html>
<html>
<head>
   <title>Using <mark> Tag</title>
</head>
<body>
   <h1>Search for "<mark>important</mark>" information here.</h1>
</body>
</html>

Result: 


Watch the video:


Ebook:
https://softkhpc.blogspot.com/2026/11/html-tutorial-beginners.html

back to top