How do you create links to sections within the same page?

HTML 5 >   Structuring Web Documents >   HTML Tags  

Short Question

1569


Answer:

Links can be created using the <a> tag, with referencing through the use of the number (#) symbol.

For example, you can have one line as <a href=”#topmost”>BACK TO TOP</a>, which would result in the words “BACK TO TOP” appearing on the webpage and links to a bookmark named topmost. You then create a separate tag command like <a name=”topmost”> somewhere on the top of the same webpage so that the user will be linked to that spot when he clicked on “BACK TO TOP”.


This Particular section is dedicated to Question & Answer only. If you want learn more about HTML 5. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.