<mark>
Description
The <mark> element represents a span of text that is highlighted.
Example
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<mark>HTML</mark> is <mark>cool</mark>.
</body> <!--from w w w. ja va2 s . c o m-->
</html>
The code above generates the following result.
mark with style
<!DOCTYPE HTML>
<html>
<head>
<style>
mark {background-color: #0F0; font-weight:bold;}
</style>
</head>
<body>
<mark>java2s.com</mark>
</body> <!-- w w w. j a v a 2 s. c o m-->
</html>
The code above generates the following result.