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

Code Example 1

HTML is the standard markup language for Web pages.

With HTML you can create your own Website.

HTML is easy to learn - You will enjoy it!

Example
<!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

<!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 3

W3Schools is an educational website for learning web technologies online.

Content includes tutorials and references relating to HTML, CSS, JavaScript,
JSON, PHP, Python, AngularJS, React.js, SQL, Bootstrap, Sass, Node.js, jQuery,
XQuery, AJAX, XML, Raspberry Pi, C++, C# and Java

Code Example 4

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  </head>
  <body>
      <!-- BODY -->
  </body>
</html>

Learn ReactJs, React Native from akashmittal.com