Check out example codes for "how to start a html file". It will help you in understanding the concepts better.
Code Example 1
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Code Example 2
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Code Example 3
<!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 4
Step 1: Open Notepad on PC
Step 2: Open TextEdit (Mac) Notepad (Windows)
Step 3: Write Some HTML. Write or copy some HTML into Notepad.
Step 4: Save the HTML Page with (.html) extension. Save the file on your computer.
Step 5: View the HTML Page in Your Browser.
Learn ReactJs, React Native from akashmittal.com