content logo

Learn HTML:

Html mark tag

The HTML <mark> tag specifies a text highlighted for reference purposes, that is for its relevance in another context.

 

Example

<!DOCTYPE html>
<html>
<head>
<title>HTML Mark Tag</title>
</head>
<body>
<h2>Cricketers in India</h2>
<p>Sachin Tendulkar is <mark>god</mark> of cricket.</p>
</body>
</html>

This will produce following result:

Cricketers in India

Sachin Tendulkar is god of cricket.

#HTML Mark Example #HTML Mark Code #HTML Mark Tutorial