basic elements of a html document
a "this is language you will understand" message to the browser.
is where the title of the page goes which will appear right up
the top of the browser window</Title>
the browser that the title and other important document info will
be found here
is is now also quite common (and progressively more important as
new standards and browser versions cascade into excistance) to include
a reference indicating the"Type of document" or Doctype tag.
Netscape 4.01 (used as editor) begins the page with:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Werner Hammerstingl">
<META NAME="GENERATOR" CONTENT="Mozilla/4.01 (Macintosh; I;
If you write code using HTML 3.2 as your language,
you would state:
<!doctype html public"-//w3c//dtd html 3.2 final//en">
<title> This is my document title</title>
fact is that most browsers can presently live happily without
this info (they are designed to pick up which version of html
is used) but as more people design their own browsers, esp. now
that Netscape gives away it's source code, you'll see a lot of
confusion and cluncky behaviour emerge.
and it's text and background attributes
TEXT="#CCCCCC" BGCOLOR="#0066FF" LINK="#FF0000" VLINK="#CCCCCC"
attributes following the body tag define the behaviour of text
on the page.
Note: Colour reference is RGB from left to right.
That means if the left two digits have letters or numbers and the
others are zeroes you have specified some kind of RED
BODY TEXT is the general colour of the text
BGCOLOR is the background colour of the page
LINK (or BODY LINK) decribe the colour difference of text which is
clickeable and will take you to another location
VLINK is the colour that clickeable text assumes after it has been
ALINK is similar to Link in that it specifies an active link.
text that will be visible as a body of text is specified by instructions
such as the ones shown on the left/FONT>
If you wish to specify a background image instead of a plain
colour, you must use a .gif or.jpg saved image, keep it linked
using correct directory attibutes and specify it to function
as background by stating:
If the image lives in a different folder it is describes as:
You should note that the .gif image will tile to fill the browser
window and unless you want to make one large "backdrop", you
can get awy with a symmetrically flippable image. Try this with
two statements tell the browser your document is finished. The
/ in html is alsways used
to signify "end"
If you want to know how to construct links
sure you save the document (as text only) aswhateveryoucallit.html or
whateveryoucallit.htm Both work but be consistant. It's
also a good idea to avoid any spaces ie. don't save as "whatever
you call it .htm", use "whateveryoucallit.htm" instead.