A+ A-

Marked Text in Html

Anything that appears with-in <mark>...</mark> element, is displayed as marked with
yellow ink.


<!DOCTYPE html>
<html>
<head>
<title>Marked Text Example</title>
</head>
<body>
<p>The following word has been <mark>marked</mark> with Blue</p>
</body>
</html>


This will produce the following result:


The following word has been marked with Blue.






Anything that appears with-in ... element, is displayed as marked with yellow ink.