Loading...
HTML <dfn> Tag

HTML <dfn> Tag

In this tutorial, we will learn about dfn tag in HTML with the help of examples.


<dfn> Tag

Dfn tag <dfn> is used to specify a defination term i.e. a term which is going to be defined within the content.
The <dfn> tag nearest parent must contain the defination for the term.

Syntax

<dfn>.....</dfn>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Dfn Tag</title>
  </head>
  <body>
    <dl>
      <dt>
        <dfn>
          <abbr title = "Hyper Text Markup Language">HTML</abbr>
        </dfn>
      </dt>
      <dd>HTML is used to create website.</dd>
    </dl>
  </body>
</html>

Output

HTML
HTML is used to create website.

Global Attribute

Dfn Tag support all the global attributes of HTML.


Event Attribute

Dfn Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of dfn tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML dialog Tag.

- Related Topics