How can I create anchor links and add them to the page?


From :bust_in_silhouette: cherro

Any element can be turned into an anchor link. For this you need to do the following:

  1. In the code, assign the element ID for the element you need. For example, we took Section and set up the following value for it: id="mission"

  1. Next, save code using the shortcut CTRL+S. So, now you can assign an anchor to any link by configuring the link in this format: #mission

And if you want to set up anchor links that are present on other pages, you need to configure the link in this format: page-name#mission