Check out example codes for "line under text html". It will help you in understanding the concepts better.

Code Example 1

<u> text </u>

Learn ReactJs, React Native from akashmittal.com