HTML HELP
I get way too many e-mails on how to program HTML so here it is!
What
are the basics of HTML?
Everything
in HTML uses tags to display information. Tags look like this:
. Most tags will also have a closing tag, which would
look like this: . Every HTML page must start with
the tag and end with the tag. The
other two sets of important tags are the and
tag and the and tags. In between the
and tags is where you put your title
of the page that is displayed on the bar at the top of the window.
The title of your page goes between the and
tags. The title of this page looks like this in HTML: The
Psyduck's Pokémon Planet- HTML/Site Help. Here is
what a basic page would look like.
Psyduck's Pokémon Planet;/title>
This is where you put in the information of your page.
|
Back to Top
How
do I make links and specify link colors?
Links
use the and tags. The tag uses
attributes to make it work. An attribute is like a normal tag
with more info. included. For example, the main attribute of
the tag is href="url". Here is an example
of the HTML you would use to link to my page: Psyduck's Pokémon Planet;/a>. In between the and
tags is where you want to put the text or image you
want to use as the link.
To make the links on your page
different colors other than the defult, you have to add some
attributes to the body tag. These attributes are: link="color"
(unvisited link), alink="color" (active link), and
vlink="color" (visited link). Here is what the body
tag looks like for my page:
White:
#ffffff
Black: #000000
Blue: #0000ff
Red: #ff0000
Green: #00ff00
Yellow: #ffff00
Purple: #ff00ff
Gray: #666666 |
Dark Blue:
#000066
Dark Red: #990000
Dark Green: #006600
Pink: #ff6699
Sky Blue: #00ffff |
Back to Top
How
do I add images and what can I do with them?
Adding
an image is easy. To add an image, you use the
tag.
The main part of the img tag is the src="url" attribute.
This is where you type in the url source of the images. For example,
the
tag for
would look like this:
.
That is all that is needed to display an image.
To make the outline of your page
load faster, you may want to use the height and width attributes.
For the Pokéball above, the two attributes would look
like this: height="10" width="10". Another
handy thing to use is the border attribute. With this tag, you
can add a border to an image. To add a border of 2 pixels, the
attribute would look like this: border="2".
Back to Top
How
can I make tables?
To
make a table, you use the tag. This tag must also
include many attributes like the and
tags.
Here is a list of the attributes and what they do:
Border - gives the table a border. Example:
border="2"
Cell Padding - makes each cell have a space between the
text and the sides. Example: cellpadding="1"
Cell Spacing - sets the spacing inbetween cells. Example:
Cellspacing="2"
Height - sets the height of the table. Example: height="500"
Width - sets the width of the table. Example: width="100%" |
To add text to the individual
cells of the table, you use the and
tags,
and then put the and | tags inbetween them.
This is hard to explain, so look at the example below and you
should get the idea. The tags can have height and
width tags also if you want to make a certain cell a certain
size.
Hello! |
Tables |
can |
be |
useful! |
They |
are |
just |
difficult! |
Hello! |
Tables |
can< |
be |
useful! |
They |
are |
just |
difficult! |
|
Back to Top
How
do I change the font and text color?
If
you do not want the font on your pages to be the defult that
the user specifies, you have to specify a font. You do this by
using the and it's attributes along with the
to close the tag. The font tag has three main attributes: size,
face, and color. Size is how large the text is, -2 through 4.
Face is what font you want, and color, of course, is what color
you want. The tag for Font's are fun! would
look like this: Font's are fun!.
Back to Top
What's
a frameset and how do I make frames?
A
frameset is a HTML page that specifies how big the frames are
and where to get the pages to put in the frame. To make a frameset,
make a normal HTML page, but instead of using the
tag, use the
Psyduck's Pokémon Planet;/title>
|
Back to Top
How
do I make a form like on your site?
Forms
can become very complex and you need a server to use the cgi
necessary to have forms. I would recommend going to bravenet.com and signing up for their
services and using the e-mail forms they have. They provide insructions
on how to costumize the form to your liking.
Back to Top
Where
can I go to have my site hosted?
This
is a list of places that offer free hosting. Because they're
free, most places require you put up a banner.
| |
|