+ 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.
4 Réponses
+ 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 ^^
+ 2
Maybe to start using 'search'?
Oh, c'mon -_-
- 1
you create a section with an id
and give a link to the I'd href="#idname"
- 1
how do we know and assign the id of Target within the sad same web page. please explain 😋