HTML Font Color


HTML Font Color

Syntax of HTML Font Color :

<font color="red"> ... </ font>

COLOR attributes you can use to set the font color. There are 2 ways to give color to the color attribute. The first way by specifying a color that you want to use such as: red, blue, yellow, etc.. The second way to use RGB values in hexadecimal, for example # 00FA0B.


Here are some colors that can be directly used in HTML documents.

Black
White
Green
Maroon
Olive
Navy
Purple
Gray
Red
Yellow
Blue
Teal
Lime
Aqua
Fuchsia
Silver

This is an example HTML page that uses the font color attribute:

<HTML>
<HEAD>
       <TITTLE> Font Color </ TITTLE>
</ HEAD>
<BODY>
<FONT SIZE="4">
       <P> <FONT COLOR="RED"> This is RED text </ FONT> </ P>
       <P> <FONT COLOR="#FF0000"> This is GREEN text </ FONT> </ P>
       <P> <FONT COLOR="#00FF00"> This is BLUE Text </ FONT> </ P>
</ FONT>
</ BODY>
</ HTML>
For more information about color, visit SEO Color Generator. You can generate your own color and make it fit with your web.

0 comments:

Post a Comment