Check out example codes for "dotted underline css". It will help you in understanding the concepts better.

Code Example 1

.dotted { 
  border-bottom: 1px dotted; 
}

<p><span class="dotted">some text</span></p>

Learn ReactJs, React Native from akashmittal.com