Font Color and Size

Pick a Font Color and Size, and then Show Me!

 

The HTML for changing the font color and size is easy. Just add a color attribute and a size attribute to the font tag. For basic colors, just use the name of the color. For more complex colors, encode the color as a six-digit hexadecimal Red, Green, Blue value. The first two digits are Red, the next two are Green, and the last two are Blue, and ff means turns the color on and 00 turns the color off. Colors can be mixed (as an example, try Yellow, which is made by mixing Red and Green). The font size is an integer from 1 to 7, where 3 is the default font size.

 


back to Show Me the HTML!
Web Design


Copyright 1996-2003, Unplugged Software, Inc.

Web Site Design