Reference · SemText · Definitions & citations
<sem-reference>
SemText element
You give it an id, a link, and a note. In the text, cite it with a plain link to the id. The element carries the fields a plain list item cannot.
Shares its schema with
<sem-references>
— the option bullets below belong to that element's contract.
No options beyond the global attribute catalog are stated for this tag.
Example
Live render boots with JavaScript — the authored source is alongside.
variant: kind="footnotes"
The footnote contract: the same authoring shape with `kind="footnotes"` on the container — the schema styles footnotes as a compact list and bibliography as a hanging indent. The second entry carries no `href`: a footnote with no external target stays a plain numbered note in every tier. JS-off, entries number by CSS counter in DOM order and the authored citation text (`¹` here, `[1]` there) is never renumbered. The schema's distinct compact-list treatment for footnotes is owed by the container block — today's shipped vocabulary styles both kinds as the same numbered list.
Live render boots with JavaScript — the authored source is alongside.
variant: two anchors citing one reference — previews and backlinks
The reading bundle at work: every citing anchor gains a hover and focus preview popover of the entry (`Esc` closes it, the anchor still navigates, `aria-describedby` points at the popover while it is open), and the entry appends one labelled backlink per citing anchor plus the external `↗` link its `href` asks for. Two anchors citing one `id` is the case backlinks exist for. JS-off the same markup is a paragraph and a numbered list: anchors navigate and the `:target` entry highlights — nothing more.
Live render boots with JavaScript — the authored source is alongside.
Source: spec/schema/sem-references.md