Hi Friends.............

 

This is the first tune of how to create a basic HTML document.

 

At first create a folder and rename it whatever you want. I create a "myfirsthtml" folder. Then create a text file inside this folder and rename it to index.html. Remember when you rename the file, you must give it (.html) file extension. Otherwise you are not able to work with it. Now open the index.html with a text editor like notepad, notepad++, PHP storm etc. and write down the code below-

 

<!DOCTYPE html>
<html>
<body>


</body>
</html>

 

Now go to the folder and double click on index.html. It will open in your default browser. You cannot see anything cause we have a blank HTML document. Next write down something on your document after body tag as before I said. 

 

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>

 

 

Now go to your browser and refresh the page. Then you will see the output we have created. 

 

Its The end of How to create basic HTML Template part 01. So keep practicing and if you have any question post a comment. I will give you the solution.