Check out example codes for "go to a specific header in a website". It will help you in understanding the concepts better.

Code Example 1

<p>This is some content.</p>
<h2><a id="target">Some Header</a></h2>
<p>This is some more content.</p>


# You could use the link <a href="http://url.to.site/index.html#target">Link</a>

Learn ReactJs, React Native from akashmittal.com