Thursday, October 05, 2006

#1 The Saga Begins

The first thing we need to have is some kind of text editor to create and edit our HTML files. Something simple will do for now. If you have a PC and are using windows Notepad will suffice. If you are using a Mac, HTML is probably over your head.

First we will start by creating a new document in Notepad and typing the following.

<html>
<head>
<title>Nothing but the Thruth</title>
</head>
<body>
The Boston Red Sox suck.
</body>
</html>

This is the anatomy of a very basic HTML page. An HTML document consists of different tags that tell your web browser what to do. HTML tags are surrounded by the < and > symbols. In most cases a tag will be accompanied by a closing tag indicated by a “/” symbol.

What does each tag do? Let me tell you.

The HTML tag tells your browser where the HTML document starts and ends. Pretty simple.

The HEADER tag quite cleverly contains all the information that is contained in your document’s header. None on the information within the HEADER tag will be visible in your browser window.

Inside your HEADER tag you can have a TITLE tag. The text contained in this tag is what will be displayed in your browser’s caption.

Finally we have the BODY tag. This is where all the links to naked women and porn valuable information you want to share with the world goes. This is the stuff the gets displayed in your browser window.

You can now save your file with the .htm or .html extension and open it in your favorite browser (I recommend Firefox). You are now a web developer. Go rule the world.

This was just the basic, simple stuff. Like I said I am going to start from scratch and learn this properly from the beginning. No matter how bored I get.

No comments: