What is an anchor link

An Anchor link (or anchor link) is a link that causes you to scroll directly to another point on the same or another page. This increases the ease of use of the website because the page does not have to be scrolled in its entirety.

Often anchor links are at the beginning of the page or in a table of contents, but they can also be used in buttons. When you click on this link it takes you directly to the part of the page the anchor link points to so you don't have to scroll or search.

How do you set up an Anchor Link?

An anchor link is indicated by a #. To create an anchor link, look in the source code for the title where you want to place the link. In the title you add the anchor location. This will result in the code:

<h2 id=”nieuwenaamzonderspaties”> titel van de h2</h2>

Next, before the link text should come the following code: