Home Tutorial Html Html5 HTML5 dfn tag, Definition of  <dfn> tag in html

 
 

HTML5 dfn tag, Definition of  <dfn> tag in html
Posted on: September 8, 2010 at 12:00 AM
Advertisement
In this tutorial we will inform you about the use and implementation of the <dfn> tag.

HTML5 dfn tag, Definition of  <dfn> tag in html

In this tutorial we will inform you about the use and implementation of the <dfn> tag. The <dfn> tag defines the term or word which is to be defined. It defines the word in the italic font style as a definition word in the document. This tag is used only for indicating the definition term. We can't use the nested dfn tag. The <dfn> tag must have </dfn> tag. There is no specific attribute for this tag; only global attributes are used.

Declaration Syntax: 

The syntax for <dfn> tag is as follows:

<dfn>Definition term</dfn>

Example: Dfn_tag.html.

<!DOCTYPE html>
<html>
  <head>
      <title>Example of dfn Tag</title>
  </head>
  <body>
     <dfn>BrowserCompatibility</dfn>: 
  Most of the older browserdon't support html5.
  </body> 
</html>

Output:

Download This Example:

Difference between HTML5 and HTML4

There is no difference between both versions.

Advertisement

Related Tags for HTML5 dfn tag, Definition of  <dfn> tag in html:


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 8, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com