![]() |
HTML GUIDE
PAGE 3 |
Tags covered on this page
<BODY> <HEAD> <HTML> <TITLE>
|
THE BASIC BUILDING BLOCK OF HTML
It is possible to place a text file on the internet by just altering the access privledges for that file. This will allow other poeple to download the file, and its contents will be shown on their browser.
However, the content of your page will be totally unformatted. Browsers ignore things like multiple spaces and end-of-line markers, so any text in such a file will be presented
as one long line of words.
Despite what you may think, presentation does matter in a site.
It is important that once you've attracted a visitor to your site, they are inclined to read what is on your page. And to present the content of your site in an attractive, readable manner you need HTML.
To begin with you need to structure the file. This is done using the four container tags
<HTML>     <HEAD>     <TITLE>     <BODY>
which, are assembled to form the basic starting point of any html page
|
What do these tags do?
<HTML>
The HTML tag simply tells the browser that a HTML file follows, in its two sections: the HEAD and the BODY.
<HEAD>
Anything written into the HEAD section of the file is down-loaded first, before the body. So ,for example, the title of your page will appear before anything is written to the window below it.
This concept is not so important right now, but if you go on to write scripts into your pages, the scripts will need to be placed in the head, so that they are defined before the visitor can call it by clicking on a button within the BODY section.
<TITLE>
The text you place between the TITLE and /TITLE tags will appear as the title of the page above the browser's menu bar.
e.g. the title of this page is :   "HTML Guide - Page 3"
It is very important to sum-up the content of your page as it is this what appears in the visitors history list and list of bookmarks.
<BODY>
Now you can insert the text content of your file. Anything you place here is shown in the browser window when someone downloads your page.
From here, you can begin formatting the text in the body segment of your masterpiece.
![]() ![]() ![]() ![]() |
|