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
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.

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


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.