Check out example codes for "how to declare document as html". It will help you in understanding the concepts better.

Code Example 1

<!DOCTYPE>
<html>
	<head>
      	<meata  bla bla>
     </head>
      <body>
        	<p>hfkjhdskjfhkdjhfjdhkfhd</p>
       		 <p>hkjdfhjdhfjhdjhfhdjfhdkj</p>
      </body>
</html>

Learn ReactJs, React Native from akashmittal.com