Check out example codes for "html example". It will help you in understanding the concepts better.
Code Example 1
<!DOCTYPE html>
<html>
<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>
<tittle>Web Tittle</tittle>
<style> css here </style>
<script> java script here </script>
</head>
<body>
<h1 style="color:blue;"> My heading in blue </h1>
<p style="font-weight:bold"> paragraph in bold </p>
</body>
</html>
Code Example 3
<!DOCTYPE html>
<html>
<body>
<h1>Hello World This is my title/h1>
<p> And this a some content.</p>
</body>
</html>
Code Example 4
<!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 5
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Learn ReactJs, React Native from akashmittal.com