+ 3
How to link to same page using <a> tag? In this code
<a href=#name>normal link to click on</a> /*after clicking on link, cursor should be going to where?...... #name? if, yes how to declare name?
4 odpowiedzi
+ 5
you can link to an id or a class on the same page
check this :
https://code.sololearn.com/WUtWKMptSs9F/?ref=app
+ 3
the cursor should go to "Normal link to click on" then will load to the linked page
e.g
the page you you currently in is saved as "Home.html"
<a href=#default>Home</a>
in this case #default means current page.
+ 2
here is my doubt!
how <a> tag is working