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

data-local-lt

Applies to: <dfn>

Defines alternative linking terms that work within this document only — they are not exported to the xref database. Use this when you want local shorthand aliases for an exported term without polluting the cross-spec namespace.

Usage

<dfn data-export
     data-lt="installed web application"
     data-local-lt="installing|installation">installed</dfn>

<!-- All of these link correctly within this document: -->
<a>installed</a>           <!-- exported, linkable cross-spec -->
[=installed web application=]  <!-- exported -->
<a>installing</a>          <!-- local only -->
<a>installation</a>        <!-- local only -->

Notes

  • Separate multiple local alternatives with |
  • In contrast, data-lt alternatives are exported (the first data-lt value becomes the canonical xref export name)
  • Use data-local-lt for verb forms, gerunds, and other grammatical variants that shouldn't clutter the global xref namespace

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