0
Why we used #
5 Respuestas
+ 2
Did you mean use # in href attribute? For example <a href="#">Link</a> ?
It is used to prevent browser refresh or move to another page when you click the link.
But if you use :
<a href="other_page.html#content">Link</a>
When you click the link, the page will be directed to other_page.html and scroll down to the tag that contains attribute id="content", for example :
<div id="content">Content</div>
0
Thanks for your response
0
That was helpful ayub👍
0
reference to id value to call
0
You're welcome