Table of Contents
In one sentence
A navigation block at the top of a long article, linking to each section by anchor.
Analogy Mental model
The contents page of a book, so a reader can go straight to the chapter they came for.
In practice What you actually do
Add one above roughly 2000 words. Each entry links to a stable heading ID, and the wording matches the heading so the reader knows where they are going. Some results pages surface these links directly.
Where people get burned Pitfalls
A table of contents whose links go nowhere, or land in the wrong section, is worse than none. It advertises a structure the page does not have, and it is the first thing a reader tests.
This entry was written in English from the Chinese original, not machine-translated. Read the Chinese version →