Introduction to HTML
Basic HTML Page -- Hello World
This is a basic HTML page.

Elements:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
This isn't sometihng you need to worry too much about, and can be omitted. Basically it tells the computer what version of HTML you are using.

<html></html>
Tells the computer that this is HTML. Can be omitted.

<body></body>
Tells the computer that you are beginning the actual content of your page. This can be omitted as long as the head tag is not used.

HTML Code:
Result:

Basic HTML Page -- Hello World -- An Alternative
This is an alternative to the basic HTML page. It is not officially compliant, but will still work in most web browsers.

Elements:

None.

HTML Code:
Result:

Basic HTML Page -- Hello Colour
This shows you how to use colour.

Elements:

<font></font>
The font tag allows you to tell the computer that you want to change the font settings.

HTML Code:
Result:

Basic HTML Page -- Hello Size
This demonstrates how to change sizes.

Elements:

<font></font>

HTML Code:
Result:

Basic HTML Page -- Hello Line Break
This demonstrates how to start a new line of text.

Elements:

<br>
Specifies a new line of text.

HTML Code:
Result:

Basic HTML Page -- Hello Bold, Italic, and Underline
This demonstrates how to use bold, italics, and underlined text.

Elements:

<b></b>
Makes text bold.

<i></i>
Makes text italic.

<u></u>
Makes text underlined.

HTML Code:
Result:

Basic HTML Page -- Hello Links!
This demonstrates how to make a link.

Elements:

<a href="url"></a>
Creates a link.

HTML Code:
Result:

Basic HTML Page -- Hello Image!
This demonstrates how to load a picture.

Elements:

<img src="url" title="title">
Creates an image. src= tells where to find the image. title= allows us to choose what the image says when we put the mouse over it. title= is optional.

HTML Code:
Result:

Basic HTML Page -- Hello Background!
This demonstrates how to have a background colour.

Elements:

<body bgcolor="colour"></body>
Specifies a background colour. Remeber that everything on your web page must be between <body> and </body>.

HTML Code:
Result:

Basic HTML Page -- Hello Basics!
This uses all of the tags (well, most) learned so far.

Elements:

None.

HTML Code:
Result: