Home

Languages
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

Forums
Web Site
Software
gbCodeLib

Personal
Webcam
Biography
Contact Me

GBIC >> Source Code >> HTML >> Snippet

06 Fonts


..The < font > tag lets you change the size and color of text.  

There are three ways to set the size attribute:
- Virtual.  use a value of 1 to 7
size = 1
- Absolute. set the value to any font size
size = 22
- Relative. with respect to current font size
size= +1    size= -2

Use the color attribute as you would any other color attribute
color = & FF000  use hexadecimal color string
or
color = red   where named colors are used