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

Code Example 1

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
//heading elements are H1 to H6 with H1 being the highest and H6
//the least.

Code Example 2

<h1> Example Test </h1>

Code Example 3

<h1>This is heading 1</h1>

      <h2>This is heading 2</h2>

      <h3>This is heading 3</h3>

      <h4>This is heading 4</h4>

      <h5>This is heading 5</h5>

      <h6>This is heading 6</h6>

Learn ReactJs, React Native from akashmittal.com