Basic HTML Tag Attributes


Attributes for <HTML>

%il8n

Back to <HTML>


Attributes for <HEAD>

%il8n

A PROFILE attribute is also defined for the <HEAD> element. This links to a meta data profile. For more information, see HTML 4.0 - The HEAD Element.

Back to <HEAD>


Attributes for <TITLE>

%il8n

Back to <TITLE>


Attributes for <BODY>

%coreattrs %il8n %events

ALINK=

This attribute changes the color for active links.

BACKGROUND=

This attribute tells the browser to tile the specified image as the document background.

BGCOLOR=

This attribute changes the color of the background of the document.

LINK=

This attribute changes the color of unvisited links.

ONLOAD=

Tells the browser to execute the specified script when the document loads.

ONLOAD=
The specifed script is triggered when the document is removed from the window/frame.

TEXT=

This attribute changes the color of the regular text in the HTML document.

VLINK=

This attribute changes the color of visited links.

Back to <BODY>



RGB Triplets

RGB Triplets

RGB triplets code for a color. They are a six digit number in hexadecimal form.
Each two digits represent a color:

The first two represent Red. --> R
The next two represent Green. --> G
The last two represent Blue. --> B

The higher the number for the color, the more it is shown, and the brighter it is. For example, #FF0000 would be bright red, while #660000 would be a really deep, dark red. What if you wanted to make your color lighter, say, pink? You would add some green and blue to lighten it. Just don't add more than you have red, or you'll get greenish-blue.
If all the colors are equal, you'll get a shade of gray. So #FFFFFF would be a really bright gray (white), and #000000 would be a really dark gray (black).

Don't really understand any of this? Check out BigNoseBird's page about COLORS.
They also have a Color Chart.

The Hexadecimal System

The hexadecimal number system has sixteen digits (0 - F), rather than ten digits (0 - 9) like the decimal system we normally use. Therefore a one in the "ten's" place now represents sixteen. 10 in hexadecimal is the same as saying 16 in decimal, and F stands for fifteen. Most of the time, the three colors' numbers are written separately in decimal form, and can take values from 0 to 255. In the hexadecimal system, this would correspond to 0 - FF.

Converting from decimal to hexadecimal:

Be sure to convert each color by itself.

Now convert the next color.

Once you have all three numbers converted, write them one right after the other in the order Red, Green, Blue. This is your RGB triplet.

Decimal-Hexadecimal Digit Conversions
Decimal=Hexadecimal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F

Fantasia
Fantasia___@yahoo.com (That's Fantasia___@yahoo.com with three _'s. "_~)