>**Warning:**Youknowthate.g.`<`and`"` need to be "HTMLescaped" in both `href="…"` and `id="…"`. In addition, the browser will apply URL decoding to `href="…"`. You need to URL encode `href="…"` but not `id="…"` to make them work together seamlessly. `AnchorFormatter` implements this.
## Down to the footnote
The anchor to jump down to a list item is prefixed `cite_note-`, followed by:
* For unnamed references: The numeric id of the reference, e.g. `cite_note-1`.
* For named references: The reference's name, a dash, and the numeric id, e.g. `cite_note-Britannica-2`.
> **Warning:** A reference's name alone is not necessarily unique because of additional underscore normalization (see `AnchorFormatter::normalizeFragmentIdentifier`). For example, `name="ab"` and `name="a__b"`aredifferentnamesthatbothbecome`cite_note-a_b-…`asananchor.Onlytheadditionalidmakesthemunique.
*Historically,itwaspossibletocustomizethe`cite_note-`and`cite_ref-`prefixes.Thiswas(almost)unusedand[removed](https://gerrit.wikimedia.org/r/987766) in 2024.
*Incomplete`<reffollow=…>`(relevantforWikisource)gotanchorsinjustanotherformat,e.g.`cite_note-Britannica`.Thiswasunusedand[removed](https://gerrit.wikimedia.org/r/1130986) in 2025.