+ 17

How to create links to sections on the same page in HTML

To create links to a link within the page, two HTML tags need to be used.

20th Feb 2017, 9:53 AM
No Name
4 Answers
+ 8
Already asked and answered here: https://www.sololearn.com/Discuss/224155/?ref=app ^^ <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 ^^
20th Feb 2017, 10:30 AM
visph
visph - avatar
+ 2
Maybe to start using 'search'? Oh, c'mon -_-
20th Feb 2017, 12:26 PM
Dev
Dev - avatar
- 1
you create a section with an id and give a link to the I'd href="#idname"
15th Mar 2017, 10:58 PM
Michael Awudu
Michael Awudu - avatar
- 1
how do we know and assign the id of Target within the sad same web page. please explain 😋
22nd Apr 2017, 1:27 AM
kundan yadav
kundan yadav - avatar