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

Code Example 1

<!-- code -->

<hr>

<!-- code -->

Code Example 2

<h1>Horizontal Lines</h1>
<p>All you have to do is add this simple tag:</p>


<hr>


<p>Everything else in this example is not necessary.</p>

Learn ReactJs, React Native from akashmittal.com