|coloring link||coloring text||coloring background|
| Coloring text: Do you want to give cool color to the text in your webpage? You need two things to change text colors|
You need two things:
1. A command to change the text.
2. A color (hex) code.
(1)We can color text using<body> tag:
<body text=red>(2)coloring text by using the <basefont> or <font> tags.
If you want to change some word’s color simply use the attribute “color”e.g. <basefont color=red>
<font color=red>red</font> <body text=red>
All the text under this body tag is red unless you specify the color using <font> tag.<br>
<font color=blue>This line is inside the <font> tag and color is blue</font><Br>
This is also outside font tag.
Coloring Links:If you want to change the color of all links in a webpage, simply use the attribute “link=?”
For example :<body link=blue>We can give different colors for a visited link and an active link. To set the color of a visited link use the attribute “vlink=?” and to set the color of an active link use the attribute “alink=?”.
HTML Backgrounds:A good background can make a Web site look really great. To give a background color to your web page, use this attribute in the <body> tag: “bgcolor=?”e.g.
Page contents: itechies.net – background image