HTML Tag Reference - HTML tag <dfn>








This <dfn> element causes its enclosed text to appear in an italic format, and it is often used to display term definitions. For instance, you can use this element to contain an acronym with its definition.

Browser compatibility

<dfn> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Global Attributes

The <dfn> tag supports the Global Attributes in HTML.





Event Attributes

The <dfn> tag supports the Event Attributes in HTML.

Default CSS Settings

dfn {
    font-style: italic;
}

Example

A demo showing how to use <dfn> tag.

<html>
<body>
     <p>
          <acronym>W3C</acronym> stands for
          <dfn>World Wide Web Consortium.</dfn>
     </p>
</body>
</html>

Click to view the demo