Hello Friends, First of all, you want to know that before looking at this post, you must definitely see the following post. Because the use of both of these post is the same.
The use of the tag also shows the full word when hovering the mouse over a short text like <abbr> tags. Which is not shown in web page.
It is the only difference between both <abbr> tag and <user> tag, <abbr> tag was used earlier when HTML 4.0 or earlier version we used to be. But we started using the version of HTML 5.0 Since then we use more of the <acronym> tag and ignore <abbr> tag.
How to use the <acronym> tag in the example below and you can see by comparing it to <abbr>.
Example Code :
<html>
<head>
<title> Acronym Tag Demo </title>
</head>
<body>
<p> The <acronym title="World Wide Web"> WWW </acronym> </p>
</body>
</html>
Output :
The WHO
This was just an example of <acronym> tag, Now below we see both of <abbr> and <acronym> tags together with the example.
Example Code :
<html>
<head>
<title> Acronym and Abbr Tag Demo </title>
</head>
<body>
<p> <acronym title="Bachelors in Computer Application"> BCA </acronym> </p>
<p> <abbr title="Master of Computer Applications"> MCA </abbr> </p>
</body>
</html>
Output :
BCA
MCA
MCA
Browser Support :
Thank You for Watching My Blog Post......
0 Comments