Home Tutorial Html Html5 Abbreviation tag html5, Definition of tag in html5.

 
 

Share on Google+Share on Google+
Abbreviation tag html5, Definition of tag in html5.
Posted on: September 1, 2010 at 12:00 AM
Advertisement
Definition of abbreviation tag in HTML5.

Abbreviation tag html5, Definition of <abbr> tag in html5.

In this tutorial, we will discuss about the use of <abbr> tag and how to implement this tag.

This tag is used for defining an abbreviation for the articles. It marks for the full form of the global article like XML="eXtensible Markup Language".

In the browser we can see full detail of the abbreviation by holding the mouse on the word or article. For displaying the full version of the expression we use attribute <abbr> tag. The expression which is to be abbreviated is written between <abbr> Expression</abbr> .

There is no specific attribute in this tag  and no difference from html4.0 version in specifying <abbr> tag.

The syntax for the <abbr> tag is as follows:
<abbr title="World Wide Web">WWW</abbr>

Example:

The <abbr> tag is implemented as follows.

abbrevation_TagExample.html

<!DOCTYPE HTML>
<html>
<head>
<title>Example For <abbr> Tag </title>
</head>
<body>
The <abbr title="World Wide Web">www</abbr> is commonly known as the web. 
</body>
</html>

Output:

Note: See the browser compatible page for successfully rendering the program.

Download this code

Advertisement

Related Tags for Abbreviation tag html5, Definition of tag in html5.:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 1, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com