+ 4

How to make create internal link in the same document?

Tips make internal link in the same document.

2nd Jun 2018, 1:09 AM
Toni Al-Munawwar
2 Réponses
+ 6
<a href="#jump">jump to target</a> ... lots of content here ... <div id="jump">Jump to here</div>
2nd Jun 2018, 1:24 AM
Kirk Schafer
Kirk Schafer - avatar
+ 4
Taking an example in Html You'll need a piece of code like this <div id="div0"><h1>Internal link</h1> <div id="div1">First section</div> < div id="div2" >Second section</ div > < div id="div3" ><a href="#div2">Third section</a></ div > < div id="div4" >Fourth section</ div > < div id="div5" >Fifth section</ div > </div> <!--When someone clicks the 'Third section' they'll be redirected by the link to focus to 'Second section'(with id='div2') Note the code clearly-->
2nd Jun 2018, 1:43 AM
Scorpia Rising🎩
Scorpia Rising🎩 - avatar