mark tag

Advertisements

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 Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements