HTML - This tells the browser
this is a HTML document. Put the start tag, <HTML>, at the
beginning of your document and the end tag, </HTML>, at the
bottom of your document. <HTML>
Put your whole document in here. </HTML> TITLE
- Every page should have a title. The title will appear as the window
title. <TITLE>My
Web Site</TITLE> BODY - This lets you
specify the colour of the background or lets you put a graphic in
the background. Colours have to be specified in hexadecimal format,
which is kind of confusing, but we included some samples below.
To change the background colour use bgcolor to change
the colour of the text use text. At the end of your
page, include the closing </BODY> tag. <BODY
bgcolor="ffffff" text="3344cc">
<BODY
background="pretty_graphic.gif"> P
- Indicates a paragraph. You should use both the opening <P>
tag and the closing</P> tag. <P>This
is the beginning of a new paragraph.</P> <P>And
this is the next paragraph.</P> FONT
- Controls the size, colour, and typeface of the text. Size is controlled
by increasing or decreasing the texts normal size. Size="+2"
would increase the font by two and size="-2" would decrease
it by two. Face is used to change to a different font,
but be warned that you, or the person reading your page, will have
to have the font installed for it to display properly.
<FONT
size="+2">Text goes here</FONT> <FONT
size="-1" color="ff00ff" face="helvetica">Text</FONT>
<FONT
size="+4" color="ffff00" face="arial">Text</FONT>
B, I, U - To make text bold, italics, or underlined.
<B>Bold
me, please</B> <I>Arent
italics nice</I> <U>Underline
is nice too</U> IMG - Used to include
a graphic on your page. The browser will look for a graphic in the
same directory (or folder) as your web page file is in, so make
sure thats where your graphics are.
Although it isnt necessary, it is
a good idea to include the width and height (in pixels) of the graphic.
If you dont know the size, leave it out altogether. The IMG
tag also allows you to add a border to the graphic using border.
For a border one pixel thick, use border="1". The
IMG tag doesnt have a close tag. <IMG
width="100" height="25" SRC="my_graphic.gif">
<IMG
border="1" SRC="my_photo.jpeg">
A HREF - This will make a hot link to other
pages, sites, or email. You can also make a graphic clickable
by embedding an <IMG> between the start and end tags.
<A
HREF="http://www.yesmag.ca">YES Mag</A>
<A
HREF="otherpage.html">My other page</A>
<A
HREF="mailto:info@yesmag.ca">Send us email</A>
<A
HREF="http://www.yesmag.ca"><IMG SRC="yesmag_logo.gif"></A> |
|