Mark Tag in HTML || HTML Mark Tag
×

HTML MARK <mark> Tag

0 872

HTML MARK <mark> tag is used for highlighting (marked) the text part.  If you need to point up those parts of your text, you can use the <mark> tag. This is a newly added tag and introduced in HTML5.

The text has a yellow color background in maximum browsers if the mark tag is applied to it. It can be replaced with different colors using CSS background-color property.

Program:

<!DOCTYPE html>
<html>
<head>
<title>Mark Tag</title>
</head>
<body>
 <h2>Exmaple of Mark Tag</h2>
 <p>You can easily learn Web designing using <mark>Codingtag Website</mark></p>
</body>
</html>

Output:



Share:


Leave a Reply


Comments
    Waiting for your comments