+ 1

if a link in an <a href=""> tag has a hashtag (#), that means that the link won't go anywhere??

10th Feb 2018, 8:45 AM
Zarlish Q
Zarlish Q - avatar
3 ответов
+ 1
A hash - # within a hyperlink specifies an html element id to which the window should be scrolled. href="#some-id" would scroll to an element on the current page such as <div id="some-id">. href="//site.com/#some-id" would go to site.com and scroll to the id on that page. only # acts as a placeholder, therefore will not link to anywhere
10th Feb 2018, 9:03 AM
Bhavya Sharma
Bhavya Sharma - avatar
+ 3
yea, its a dead link
10th Feb 2018, 9:00 AM
Raz
Raz - avatar
+ 1
thank you @Bhavya Sharma @neicore
10th Feb 2018, 2:12 PM
Zarlish Q
Zarlish Q - avatar