Why we used # | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we used #

29th Jul 2016, 10:36 AM
shaik mahaboob sharief
shaik mahaboob sharief - avatar
5 Answers
+ 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>
29th Jul 2016, 11:07 AM
Ayub Narwidian Adiputra
Ayub Narwidian Adiputra - avatar
0
Thanks for your response
29th Jul 2016, 11:13 AM
shaik mahaboob sharief
shaik mahaboob sharief - avatar
0
That was helpful ayub👍
29th Jul 2016, 11:35 PM
Ozii
Ozii - avatar
0
reference to id value to call
1st Aug 2016, 3:52 AM
Daliah Aljutayli-داليه الجطيلي
Daliah Aljutayli-داليه الجطيلي - avatar
0
You're welcome
1st Aug 2016, 10:17 AM
Ayub Narwidian Adiputra
Ayub Narwidian Adiputra - avatar