Site hosted by Angelfire.com: Build your free website today!
 
Webpage Tutorial
« August 2009 »
S M T W T F S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Entries by Topic
All topics  «
Blog Tools
Edit your Blog
Build a Blog
View Profile
You are not logged in. Log in
Wednesday, 2 June 2004

Lesson 1: Basic HTML Tags

Objective

After completing this lesson, you will be able to design a webpage using basic HTML tags.

Just like 'follow the bouncing ball', power up Notepad and start with this...

<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. Think of tags as talking to the browser, or better yet giving it instructions. What you have just told the browser (more or less) is this is the start of a HTML document ( ) and this is the end of a HTML document ( ). Now we need to put some stuff into it.

Every HTML document needs a pair of HEAD tags.

The only thing we have to concern ourselves with in the HEAD tags (for now) are the TITLE tags.

And the bulk of the page is going to be within the BODY tags.

Oh, and one more thing, give your document a title, and put something in the body.

<span class="style3">My first page!</span>

Hello Shelia!

Now save it, not as a text document, but as a html document. Save it as page1.html in a new folder somewhere. If you?re a little fuzzy about how to do this then here's what you do... In your Notepad window click File then Save As.
You will be presented with a dialog box. Make a new folder by clicking this ->
Name it whatever you want. Then double click on it to open it up. Where it says File name: type in page1.html Where it says Save as type: make sure it says All Files(*.*)
Hit return and you're done!

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! If you are using Internet Explorer or Netscape, the file you made might look something like this...


(if your icon is a little different, it's no biggie)

You should be able to double click on it now and see the results of your handiwork.

Next order of business is to start putting some neat stuff in your page.

The best way to use this tutorial is to run Notepad and two instances of your web browser. Just toggle between the three windows. You can open a second instance of your browser in one of two ways- 1. Find the icon of the html file you just made ( page1.html) and double click on it. In your browser, click on File/Open File (or something similar to that) and browse to the file ( page1.html).

Two quick points before we go on to lesson 2. One, what you made is a skeleton HTML document. This is the minimum required information for a web document and all web documents should contain these basic components. And two, the document title is what appears at the very top of the browser window.


Posted by oz/tutorials at 10:48 AM CDT
Updated: Wednesday, 2 June 2004 7:02 PM CDT
Post Comment | Permalink | Share This Post

Newer | Latest | Older