Extras

Here are a few things that I couldn't seem to fit anywhere else, they're not really important, but they are kind of nifty..

FONT size.

You can make text smaller or larger without using heading commands.
Here's how:
<FONT size="-1"> makes it smaller </FONT>
makes it smaller
<FONT size="+1"> makes it bigger </FONT>
makes it bigger
The numbers after the plus and minus can vary.

FONT face.

You can specify the font that you would like to use on certain parts of your page. The font must be truetype, and please keep in mind that only people who have that font will be able to see it on your page. If they don't have it, they will see the page normally. Here's how the tag works:
<FONT face="century gothic"> Do you have century gothic? </FONT>
Do you have century gothic?
<FONT face="wingdings" size="+1" color=ff0000> J </FONT>
J
You should see a red smiley face, not just a large capital J.

Giving your mailto: tag a subject.

You can specify a subject in your e-mail link. The code for this looks like:
<A href="mailto:primavera@iname.com?subject=playing with HTML"> mail me </A>
mail me

Taking away the line under links.

If you have a browser that underlines links, you'll notice that, except in the sample pages, there are no lines under my links. If you want to get rid of them too, there's a code you can insert into your HEAD command:
<HTML>
<HEAD>
<TITLE> My nifty page of junk </TITLE>
<STYLE> <!--A{text-decoration:none}--> </STYLE>
</HEAD>

WARNING: if you don't turn off the <STYLE> tag, nothing will show up on your page.

Keywords.

If you want to specify keywords for search engines to index you with, you can insert this code, also in your HEAD command:
<META name="keywords" content="me,myself,I,everyone,else">
Only seperate words with commas. This tag should be placed the same way as the STYLE command above.

Most site hosters require that your main page be called index.htm (or html). It might be a good idea to call it that now. It's also a good idea to have a link to your main page from all major outshoots. If you have a menu of things linked off of your main page, link that to the main, and the pages linked from the menu to the menu. Sometimes browsers echo, catching someone on a certain page, and this will help when the back button isn't working.


Back to the tutorial menu