Title and Head, Body and Text
The parts and structure of a HTML document are generaly as follows:
- The HTML tag <html> is set at the begining, tag </html> closes
off the end of the web page
- 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 ]
- 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
- 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:
-
Lynx
- 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
- bold
- using the tags B and /B
- italic
- using the tags I and /I
- tele type
- using the tags TT and /TT
- citation
- 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
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
Example
Lesson 3
[
menu |
index |
home |
EIR ]