Displaying abbreviation of the element

Sunny.Sagar
Posted by Sunny.Sagar under HTML 5 category on | Points: 40 | Views : 355
<!DOCTYPE html />
<html>
<head>
<title>abbr was earlier acronym tag</title>
<meta charset="UTF-8" />
</head>
<body>
It is used to mark abbreviation or acronym of the words.
<p>
<abbr title="DotNetFunda.com">DNF</abbr>
<span title="DotNetFunda.com">DNF</span>
</p>
Something is <span style="color:red;">good</span>.
</body>
</html>

The <abbr> tag is used to mark abbreviation

Comments or Responses

Login to post response