Lesson 1
The page start with <HTML> and ends with </HTML>.
<HTML>
</HTML>
Each one of those is called a tag. There is a starting tag and a closing tag. To make a closing tag just add a / to the starting tag. Most, but not all tags have a closing tag.
Every HTML document needs a pair of HEAD tags. HEAD tag comes inside the HTML tag.
<HTML>
<HEAD>
</HEAD>
</HTML>
Inside the Head tag comes Title tag.
<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
</HTML>
And the bulk of the page is going to be within the BODY tags.
<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
Give your document a title, and put something in the body.
<HTML>
<HEAD>
<TITLE>
My First Web Page
</TITLE>
</HEAD>
<BODY>
Welcome to my Home page.
</BODY>
</HTML>
Now save it as home_page.html in a new folder. In your Notepad window click File then Save as. You will be presented with a dialog box where it says File name: type in home_page.html where it says Save as type: make sure it says All Files(*.*) and press the Save button.
Congratulations! You are the proud parent of a fully functional Web Page!. You could upload it to a server and the whole world can see your creation!.
Now double click on home_page.html and see the result of your handiwork in browser.
Welcome to my Home page.
This is the minimum required information for a web document and all web documents should contain these basic components. The document title is what appears at the very top of the browser window.
<--HOME
NEXT-->
|