mark tag


Prev Tutorial Next Tutorial

<mark> tag

Html <mark> is used for defines marked text. This tag is use when you want to highlight part of text on your web page.

Syntax

<!DOCTYPE>
<html>
<body>
<h3>Html Introduction</h3>
<p>Html is very <mark>simple</mark> to use and it is also <mark>easy</mark> to learn.</p>
</body>
</html>

Result

Html Introduction

Html is very simple to use and it is also easy to learn.

You can also apply css on <mark> tag

Syntax

<!DOCTYPE>
<html>
<head>
<style>
mark
{
background:cyan;
}
</style>
</head>
<body>
<h3>Html Introduction</h3>
<p>Html is very <mark>simple</mark> to use and it is also <mark>easy</mark> to learn.</p>
</body>
</html>

Result

Html Introduction

Html is very simple to use and it is also easy to learn.


The <mark> tag supports global and event attributes in HTML 5.


Browser supported

Element
<mark>YesYesYesYesYes

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements