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

Code Example 1

<p class="ThisIsAClassName">HI</p>

Code Example 2

<h1 class="write a name">H1 content</h1>

Code Example 3

<p class="ClassExample">ClassExample!!</p>

Learn ReactJs, React Native from akashmittal.com