Check out example codes for "create dynamic navigation menu html". It will help you in understanding the concepts better.

Code Example 1

<div class="topnav">
  <a class="active" href="#home">Home</a>
  <a href="#news">News</a>
  <a href="#contact">Contact</a>
  <a href="#about">About</a>
</div>

Learn ReactJs, React Native from akashmittal.com