← all corpora

whatwg-html

reference corpus · status live · domain WEB (Web and frontend platform) · lane A · refresh pinned · tags GLOBAL · HTML · WHATWG · WEB-PLATFORM · LIVING-STANDARD · SPEC

What an agent uses it for

an agent building or debugging web pages queries this for the HTML Living Standard's exact parsing algorithm, element semantics, and DOM-serialization rules.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/whatwg-html.json
xerj corpus add --from ./whatwg-html.json
xerj corpus index whatwg-html then xerj code whatwg-html "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "whatwg-html", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
html 86190a4d7c15CC-BY-4.0 117.2 MB / 132 files Read decoded LICENSE via GitHub API: CC-BY-4.0 prose + BSD-3-Clause for code snippets (both permissive); file byte-identical across all 6 WHATWG repos (md5 7c81f45). Repo live, not archived. Attribute WHATWG; shallow --depth 1 (~130MB vs 1.3GB).

117.2 MB across 132 files. Added 2026-10-13.

Rights

CC-BY-4.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.