FAIR is a non-profit organization dedicated to providing well-documented answers to criticisms of the doctrine, practice, and history of The Church of Jesus Christ of Latter-day Saints.
Aide:Anchors : Différence entre versions
(→Referencing anchors) |
|||
Ligne 7 : | Ligne 7 : | ||
==Referencing anchors== | ==Referencing anchors== | ||
inside a regular wiki link <nowiki>[[page#anchor_name|shown_up_as]]</nowiki>, include the hash sign (#) and the header name or the id tag name as you have written it. | inside a regular wiki link <nowiki>[[page#anchor_name|shown_up_as]]</nowiki>, include the hash sign (#) and the header name or the id tag name as you have written it. | ||
− | |||
− |
Version actuelle datée du 30 septembre 2005 à 10:10
It is possible to link to a specific portion of a page.
Setting anchors
- headers automatically become html anchors, which can be linked to.
- The <a> tag is not allowed in MediaWiki, so we can't do the <a name="link here">, but we can do the "id" html attribute to almost any existing tag. For example, <div id="what_to_link_to">text</div>.
Referencing anchors
inside a regular wiki link [[page#anchor_name|shown_up_as]], include the hash sign (#) and the header name or the id tag name as you have written it.