About HTML
- HTML stands for Hyper Text Markup Language
- Hyper Text is text (or an image since HTML supported images) that contains a Hyperlink i.e. transfers the user to another document when clicked on.
- A Mark Up language is not a programming language. It is merely sets of tags ( words surrounded by < and > symbols) that surround text or images to do things like changing font or adding a Hyperlink. However, there is a programming language called Javascript that can be used in websites. This is not covered here.
- A HTML document is just a text document. It can be created in Windows Notepad, and has a file extension of .html or .htm instead of .txt.
Creating an HTML document
First, I will show you how to create a HTML document; then I will show you how to use some of the tags.
The first thing to do is open a blank Notepad document (Notepad or any other text editor is preferable to a word processing package at this point for the simple reason that word processors tend to save documents in their own formats instead of plain text, which is what we require now. Some word processors can save documents as HTML and most will save as .TXT files but this usually has to be selected!). Now type or copy and paste in the following:
<html>
<head>
<title>Title goes here </title>
</head>
<body>
This is where the action happens
</body>
</html>
Now save the document as doc.html by clicking on file.

Select 'Save As' from the pull down menu.

When the file manager box comes up, type in doc.html (or indeed any other name as long as you remember the .html on the end
) and save the document.

Now double click on the document you have just saved. A browser will open up and you will see the words 'This is where the action happens' in unformatted text in the top left of it. Congratulations! you have just created an HTML document.
About the Tags so far
Now you have created your HTML document, I will explain what the tags mean:
- <html> and </html> : These specify the start and end of the HTML code.
- <head> and </head> : These specify the start and the end of the Head area of the HTML code. Nothing that is in here is displayed, but this area is used to store Javascript and CSS code.
- <title>Title goes here </title> : These tags contain the title that appears at the top of the browser.
- <body>This is where the action happens</body> : These tags hold the 'body' of the code. This is where your HTML will go when you start writing it
