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

Code Example 1

<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Code Example 2

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Code Example 3

<!DOCTYPE html>
<html>
<head>
	<title>PUT A TITLE HERE</title>
</head>
<body>
	<canvas id="canvas" width="200" height = "200"></canvas>

	<script type="text/javascript">
		//put your code here
	</script>
</body>
</html>

Code Example 4

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Code Example 5

<!DOCTYPE html>
<html>
<body>

	<h1>Hello World This is my title/h1>
	<p> And this a some content.</p>

</body>
</html>

Learn ReactJs, React Native from akashmittal.com