Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 14 revisions

data-lt

Applies to: <dfn>, <a>

Defines alternative linking terms for a definition (or an alternative text for a link). Multiple alternatives are separated by |.

Usage

<dfn data-lt="fetch a resource|fetching">fetch</dfn>

<!-- All of these now link to the same definition: -->
<a>fetch</a>
<a>fetch a resource</a>
<a>fetching</a>
[=fetch=]
[=fetch a resource=]
[=fetching=]
<a data-lt="fetch a resource">retrieve it</a>

Notes

  • Alternatives are matched case-insensitively
  • The first alternative in data-lt becomes the canonical export name for cross-spec linking
  • For pluralization, see pluralize and data-lt-no-plural
  • data-lt replaces the element's text content as the term; data-local-lt adds alternatives only visible within this document
  • See also: data-local-lt for document-local alternatives

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally