+ 3

how to make a hyperlink in html?

create an hyperlink which will jump in same page on some specific heading not in other page (can use id attribute for this?)

12th Mar 2017, 12:30 PM
mansi jain
mansi jain - avatar
3 Answers
+ 5
You use the following markup(replace the #section with the ID of the heading which you want to specify as the anchor value): <a href="#section">LInk <a>
12th Mar 2017, 12:42 PM
Chirag Bhansali
Chirag Bhansali - avatar
0
you should use anchor(google -> anchor html)
12th Mar 2017, 12:35 PM
Ihor