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

Code Example 1

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

Code Example 2

<a href="https://www.w3schools.com/"
target="_blank">Visit W3Schools!</a>

Code Example 3

<p>
  My Bonnie lies over 
 the ocean.

  My Bonnie lies over the sea.

  My Bonnie 
 lies over the ocean.

  Oh, bring back my Bonnie to me.
</p>

Code Example 4

<h1 
  style="font-size:60px;">Heading 1</h1>

Code Example 5

<h1>This is heading 1</h1>
<p>This is some text.</p>
<hr>
<h2>This is heading 2</h2>
<p>This is some other text.</p>
<hr>

Code Example 6

<table style="width:100%">
  <tr>
    <th>Firstname</th>
    <th>Lastname</th>
    <th>Age</th>
  </tr>
  <tr>
    <td>Jill</td>
    <td>Smith</td>
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td>
    <td>94</td>
  </tr>
</table>

Code Example 7

<p>This 
 is <sub>subscripted</sub> text.</p>

Code Example 8

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

<p>This is another paragraph.</p>

Code Example 9

<!DOCTYPE html>
<html>
<head>

  <link rel="stylesheet" href="styles.css">

</head>
<body>

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

</body>
</html>

Code Example 10

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>HTML is great </title>
    </head>
    <body>
    <p>hello people learn html and css</p>
    <ul>list
    <li>helllo</li>
    </ul>


    </body>
</html>

Learn ReactJs, React Native from akashmittal.com