| Tags: < FONT >
The FONT tag is used to display text and appears between the BODY tags. With it you can control text size, colour and type set. The text you wish to display is placed between the tags
< FONT > This is the displayed text. < /FONT >.
You can use many different fonts on one page but if the computer that is looking at your page does not have the font you specified then a browser default font will be used. Also becarefull with font sizes, depending on monitor resolution and default font sizes of the browser your text may not look as intended.
The font tag also has some other tags which appear between them and further control the text presentation, for example: < FONT >< B > This text is bold. < /B >< /FONT >
Parameters
< FONT FACE="ARIAL" SIZE="+1" COLOR="TEAL" > SAMPLE < /FONT >
FACE dictates the type of font to use in this case "ARIAL".
Variables: any font type you may have on your computer ie: COMIC SANS MS, COURIER, MINI PICS CLASSIC, ... But remember it should be a common font which most people would have on their computer otherwise a default font will be displayed.~~~
SIZE dictates the size of the font, here it is one size larger "+1" than default.
Variables: 1,2,3,4,5,6,7, -1,-2,-3,-4,-5,-6,-7, +1,+2,+3,+4,+5,+6,+7,~~~
COLOR stipulates the colour of the font, "TEAL". When using hexadecimal or RGB colours remember some one using a 256 colour setting on their computer will not see the same colour as someone using 16 million colours.
Variables: AQUA, BLACK, BLUE, FUCHSIA, GRAY, GREEN, LIME, MAROON, NAVY, OLIVE, PURPLE, RED, SILVER, TEAL, WHITE, YELLOW,
OR
Hexadecimal colours: #FFCC00, #0033CC, #666699... almost any hexadecimal colour will work provided the viewing computer can produce the colour. If no colour is specified the default colour is black.
Associated Tags
These tags may be used with or without the < FONT >< /FONT > tags.
These tags can be combined to creat various font effects.
| Syntax |
Tag and Sample |
Description |
| Heading syntax: |
|
Creates a large bold heading.
The variables are:
h1, h2, h3, h4, h5 and h6 |
| Bold syntax: |
< b >Sample < /b > |
Displays text in a bold font. |
| Italic syntax: |
< i > Sample < /i > |
Displays text in a italic font. |
| Underline syntax: |
< u > Sample < /u > |
Displays underlined text. |
| Superscript syntax: |
< SUP > Sample < /SUP > |
Displays font as a superscript.
Slightly smaller and higher then normal text. |
| Subscript syntax: |
< SUB > Sample < /SUB > |
Displays font as a subscript.
Slightly smaller and lower then normal text. |
| Blink syntax: |
< BLINK > < /BLINK > |
Will cause the text to flash on and off.
Only with Netscape other wise no effect. |
Strike through
text syntax: |
< STRIKE > Sample < /STRIKE > |
Displays text which is crossed out. |
| Bold syntax: |
< STRONG > Sample < /STRONG > |
Displays a bold font. |
| Size syntax: |
< SMALL > Sample < /SMALL > |
Displays a small font. |
| Size syntax: |
< big > Sample < /big > |
Displays a large font. |
|
|
|
If you try to create a large space in your text by using more than one stroke of the space bar, it will not work. The browser does not recognize more than one space. To create a space in your text type   or repeat as often as needed to create the size of space you require. These caracters do not show as text, they create a space.
|