Tuesday, August 07, 2007

Html Tips

HTML Color Codes Table
This tips for newbie which can use it for blogging, myspace, friendster...etc which allow you to edit html.

How to apply these codes and colors

HTML color codes are hexadecimal triplets representing the colors red, green, and blue. For example, in the below example of the color red, you can notice the color code is FF0000, which is '255' red, '0' green, and '0' blue.

To change the font color in HTML add the below code to your web page.

< font color="#FF0000"> Making the text color red</font>

In addition to the above example you can also specify the name of the color you wish to use as shown below.

< font color="#red"> Making the text color red</font>

Other ways to use these codes is within your BODY statement. This allows you to change the complete page:
<BODY TEXT="#000000" LINK="red" VLINK="blue" BGCOLOR="#ffffff" >

TEXT="000000" When used will display all text on page as black.
LINK="#1F00FF" When used will change all links to red.
VLINK="blue" When used will change all viewed links to blue.
BGCOLOR="#ffffff" When used will display the page with a white background.

Finally, while all browsers still support the above font tag examples you should still consider using CSS to change the color of your text, links and other portions of your web page. Below is an example of how you could use CSS to change the color of text.

<span style="color : #FF0000;">This text is red</span>


Gud Luck!!


Click Blinkxit for the video!!

No comments: