Step Two: Make a File
The first thing you need to do is use your text editing program to create a file that will hold your Web page.
You can name the file anything you want as long as it ends with the extension .htm or .html. The .htm or.html extension tells the browser that this is a Web page and should be viewed as one.
For example, any of these names would be fine:
Step 3: Understand Tags
HTML pages are easy to build—all you need to understand is a few tags. A tag is a way of indentifing the different pieces of your page, like headlines and paragraphs.
Tags are easy to spot. They all begin with the the "less than" sign: < and end with the "greater than" sign: >. Between the greater and less than signs is the tag name. For exaple, this tag is the paragraph tag:
You can use either upper or lower case letters for tag names. The browser doesn't care.
The tag is usually followed by text. For example, this is the text of a short paragraph:
<p>Once upon a time there lived a green frog in a blue pool.
At the end of the text is another tag, called a closing tag. It looks just like the opening tag except it has a slash in front of it. It tells the broswer that this is the end of this particular page element:
<p>Once upon a time there lived a green frog in a blue pool.</p>