|
|
home
/ reference
/ html
<basefont>

face
size
color
This optional tag changes the default font for a specific HTML document.
<basefont color="">
| |
Description
| |
The color attribute allows you to change the color of the specified text. Colors may be entered in the hexadecimal form #RRGGBB or may be specified with one of the following words: aqua, black, blue, fuchsia, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.
|
Code (Hexadecimal)
| |
<basefont color="#00FF00">
|
Code (Color Name)
|
<basefont face="">
| |
Description
| |
The face attribute allows you to specify a specific font face such as Courier or Arial. You may specify a list of font faces separated by a comma. If the browser cannot find the first font face in the list then it will continue through the list until it finds an available font face.
|
Code (One Font)
| |
<basefont face="Courier">
|
Code (Multiply Fonts)
| |
<basefont face="Courier, Palatino">
|
|
<basefont size="">
| |
Description
| |
The size attribute allows you to change the font size of specific text. Sizes may be specified relative to the normal or absolutely.
|
Code (Relative)
Code (Absolute)
|
|