data lt - speced/respec GitHub Wiki

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
⚠️ **GitHub.com Fallback** ⚠️