Home / code / html

The font-tag.

Font, with this tag you can set the size of your letters, color and witch type of font.
This only affect the text between the FONT-tags.
The base is this:
<FONT>text</FONT>

Now on its own it does nothing, you have to add the attributes.

You can add the size on 2 ways. The first you give the letter a size of 1 to 7.
1 is the smallest and 7 the biggest.
Looks like this:
<FONT SIZE="?"></FONT>

The second way is to increase or decrease compared to the basefont.
It looks like this:
<FONT SIZE="+?"></FONT>
or
<FONT SIZE="-?"></FONT>

You can change the color, with the color-words or with hex-code.
It works like this:
<FONT COLOR="#******"></FONT>

You have to replace the ****** with the color-code.

Now you can change the font.
You do this with the following:
<font face="Bookman Old Style"></font>

A few examples of fonts:

  • Arial is standard
  • Bookman Old Style
  • Tahoma
  • Verdana
  • Times New Roman
  • Haettenschweiler

Latest script:

 

Books: