# `<dfn>`

> The `<dfn>` HTML element represents the defining instance of a term.

## How do I mark a term definition with the `<dfn>` element?

The element that is used to indicate a term that is being defined within the content. It's often displayed in italics or bold and provides a clear marker for the first use or definition of a term in a document.

- Topic: Semantics
- Type: tag
- Browser support: Chrome 15+, Chrome Android 18+, Edge 12+, Firefox 1+, Firefox Android 4+, Safari 6+, Safari iOS 6+

## Example

Wrong:

```html
<p>
  <i>Latency</i> is the delay before data arrives.
</p>
```

Right:

```html
<p>
  <dfn id="latency">Latency</dfn> is the delay before data arrives.
</p>
```

`<dfn>` marks where the term is defined, and the `id` lets later mentions link back to it.

## Common mistakes

- Wrapping every mention of the term in `<dfn>` instead of only the defining one.
- Using `<dfn>` without the definition being in the same paragraph or section.

## Interview questions

### What is the difference between `<dfn>` and `<dl>`?

`<dfn>` marks a term defined inline in prose, while `<dl>` with `<dt>` and `<dd>` builds a list of terms and descriptions.

### Can I use `<abbr>` inside `<dfn>`?

Yes. Nest `<abbr title="...">` inside `<dfn>` when the defined term is an abbreviation.

## Related cards

- [`<abbr>`](https://wonderium.dev/html/abbr.md)
- [`<dl>`](https://wonderium.dev/html/dl.md)
- [`<dt>`](https://wonderium.dev/html/dt.md)
- [definition](https://wonderium.dev/a11y/definition.md)

---

- Level: [HTML](https://wonderium.dev/html.md)
- HTML version: https://wonderium.dev/html/dfn
- Last updated: 2026-11-25
