FONT COLOR ELEMENT

This tag is like FONT FACE and FONT SIZE element. Color can be declared by name like RED or GREEN or BLACK or you may use declare by decimal number which is decided for all the colors. This tag format is <FONT COLOR=(name or code of Color)>............................</FONT >

Example:

<HTML>
<HEAD>
<TITLE>
Program 9
</TITLE>
</HEAD>
<BODY>
<FONT COLOR=RED>This is my New Program</FONT>
<FONT COLOR=#FF0000>This is my new Program</FONT>
</BODY>
</HEAD>

Insert the tag in which paragraph or line you want to color. Just start it before the paragraph or sentence and end at the end of the paragraph. For you better understanding I am providing charts of color code, it may help you.

0 comments:

Post a Comment