+ 2

How do i create a link to an element on the same site?

12th Apr 2018, 1:08 PM
Stephen Adu Bimpong
Stephen Adu Bimpong - avatar
2 Answers
+ 1
use id attribute and then a href="#id" this should work.😃
12th Apr 2018, 1:10 PM
Akib
Akib - avatar
0
Yep. <p id="paragraph">We come here</p> <a href="#paragraph"> Click here </a> This is how it is done... If I may, I would advise you get used to searching answers to such questions on the net. Answers on Stackoverflow are extremely helpful and you do not have to wait for someone to answer 😉
12th Apr 2018, 1:29 PM
cyk
cyk - avatar