Check out example codes for "how to print hello world in html". It will help you in understanding the concepts better.

Code Example 1

<!DOCTYPE html>

<html>
<head>
<title>Page Title</title>

</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>


</body>
</html>

Code Example 2

<html>
<head>
<title>Page Title</title>

</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>


</body>
</html>

Code Example 3

<!DOCTYPE html>
<html>
  <head></head>
  <body>HELLO WORLD</body>
</html>

Learn ReactJs, React Native from akashmittal.com