Check out example codes for "how to create a html file". It will help you in understanding the concepts better.
Code Example 1
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.
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>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Code Example 4
First, you have to tick "File name extensions" if you haven't.
Secondly, you need to make a file somewhere in YOUR user. Make sure that it
ends with .html
Then, copy this code:
<!DOCTYPE html>
<html>
<head>
<title>Name your document title</title>
</head>
<body>
Put your document apperance here...
</body>
</html>
Finally, open the HTML document and then you have your page!
Code Example 5
Make a folder
Create a file with .html at the end of it and open it with a text editor
Learn ReactJs, React Native from akashmittal.com