Check out example codes for "are h1 block elements". It will help you in understanding the concepts better.

Code Example 1

<h1> through <h6> are block level elements taking up their own line.

Learn ReactJs, React Native from akashmittal.com