Question:

How does Wikipedia link to different areas of a page?

by  |  earlier

0 LIKES UnLike

For example, when I visit Wikipedia's page on Beethoven, if I want to learn about his death I click 'illnesses and death' in the contents box.

How could I do this kind of linking on my website?

 Tags:

   Report

1 ANSWERS


  1. It is just an HTML link. On the destination to put anchor, something like <a name="destination">Destination</a> then on the original page put the link, eg <a href="something.html#destination">To go destination</a>

    If you are asking about wikipedia linking, the section or subsection is an achor by default. Don't need to add anything here. To link to a section just use [[Beethoven#Illness_and_death]] . Wikipedia has its own syntax to make it easier for user, but you can use HTML syntax if you want it to.

    For detail check out HTML reference on LINK or ANCHOR. Good luck.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.