Title and Head, Body and Text

Lesson 2

The parts and structure of a HTML document are generaly as follows:
  1. The HTML tag <html> is set at the begining, tag </html> closes off the end of the web page
  2. Tags <head></head><body></body>are set between the HTML tags to define the head and body.
    Everything you put in the web page must be in one of three places,, The Head, The Body or The DTD [ document type definition ]
  3. The Title tags <title> and </title> are placed in the head, What you put between the TITLE tags will show up as the page label in the blue bar at the top of the browser
  4. In the BODY you can place Lists, Text and Headers. Lets talk about lists first. Today Lists can be of three types The Ordered list --like this list, The Unordered list and The Definition list there are others but they have fallen out of use because of redundancy.

A third type of list in use today is the glossary list or Definition list. This kind of list has two parts to each element.

For instance:
One of the first browsers
Microsoft Internet Explorer.
The browser that rivals Netscape

Example Lists

There are rudimentary tags that you can use set apart your text; here are some examples in this definition list

using the tags B and /B
using the tags I and /I
tele type
using the tags TT and /TT
using the tags CITE and /CITE

The PRE tag you have been introduced to already one more very useful tag called BLOCKQUOTE has this effect

There are a few more such as tags for emphasis and strong that use EM, /EM and STRONG, /STRONG

The tags P and /P will separate paragraphs apart, the tag BR will break off a
new line,
the tags CENTER and /CENTER will align a word, a line, or a paragraph depending how they are placed, and the HR tag can set a horizontal rule on the page.

The list, text and headers

Text size and Headers

Next we can talk about
text size and headers
at the same time
text size can range from 1 to 7, seven being the largest
headers on the other hand are sized in opposite order

Lesson 3
[ menu | index | home | EIR ]