Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
if a link in an <a href=""> tag has a hashtag (#), that means that the link won't go anywhere??
3 Respostas
+ 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
+ 3
yea, its a dead link
+ 1
thank you @Bhavya Sharma @neicore