+ 6

how do i create a link that takes the user somewhere within the web page ?

when the user clicks the link it should go somewhere within the web page

19th Feb 2017, 11:37 PM
chris
chris - avatar
2 Antworten
+ 9
<a href="#idOfTarget">click me to scroll to the target...</a> ... and somewhere else: <div id="idOfTarget">You got it! :)</div> Or anyelse tag element, obviously ^^
19th Feb 2017, 11:51 PM
visph
visph - avatar
+ 7
visph is right.
20th Feb 2017, 12:52 AM
Agus Mei
Agus Mei - avatar