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

Code Example 1

html<h1>Headings</h1>
<h2>are</h2>
<h3>great</h3>
<h4>for</h4>
<h5>titles</h5>
<h6>and subtitles</h6>

Learn ReactJs, React Native from akashmittal.com