Help:Anchor

In the HTML code for each section there is an anchor HTML element "a" with both "name" and "id" attributes holding the section title. This enables linking directly to sections. These section anchors are automatically used by MediaWiki when it generates a table of contents (TOC) for the page, and therefore when a section heading in the TOC is clicked, it will jump to the section.

Manually Linking to Anchors
Also, the section anchors can be manually linked directly to one section within a page.

The HTML code generated at the beginning of this section, for example, is:

 Manually Linking to Anchors

A link to this section (Manually Linking to Anchors) looks like this:

Manually Linking to Anchors To link to a section in the same page you can use displayed text, and to link to a section in another page displayed text.