0
HTML link ... # vs /
What is the difference between # and / when linking to a page on your website? On the address bar, sometimes you'll see ...com#page, or ...com/page while I was typing this, it was / (sololearn.com/Discuss/New/
2 Respuestas
+ 2
# is used for directing the user to element with id i.e
fish.com#about
-> you will be directed at an element in the main page with id 'about' for example : <section id="about"></section>. So you have a view on your browser point to section with about id
fish.com/about
-> you will be directed to about page and it doesn't point to any id