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.

Related Posts:

  • 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… Read More
  • Revision 0.0.1 Today we are going to revise all the things we learn so far. We will write all the tags in a single page. So far we learnt how to BOLD, or ITALIC or UNDERLINE a text.  Then we learn how to BLINK and SUPERSCRIP SUBSCRIPT… Read More
  • Subscript and Superscript Element SUBSCRIPT We familiar with Subscript element. It is mostly used in chemical name , The tag is looks like <SUB>………………….</SUB> Example: <HTML> <HEAD> <TITLE> Program 6 </TITLE> &… Read More
  • FONT FACE ELEMENT Sometimes we change fonts in MS Words, here we can do the same thing. Its like FONT SIZE tag. The format is like  <FONT FACE=(name of the font)>.........</FONT> Example: <HTML> <HEAD> <TITLE… Read More
  • FONT SIZE With this tag we can increase or decrease the font size. The default size is 12. We can increase this till +7 or decrease till -7. We use (+) sign for increasing and (-) sign for decreasing. The tag format is <FONT SIZE=… Read More

0 comments:

Post a Comment