aspxtreme

COLOR Attribute | color Property

HTML Elements/DHTML Objects   Element Attributes


Specifies the color to be used by the object.

Syntax


HTML <ELEMENT COLOR = sColor ... >
Script object.color [ = sColor ]

Possible Values


sColor String that specifies one of the color names or red-green-blue ( RGB ) values in the Color Table. Note Specifying the color as a color name may not be recognized by some browsers, whereas the RGB color value should always be displayed accurately.

The property is read/write with no default value.

Remarks

This attribute has been deprecated in favor of the CSS color property.

Applies To

BASEFONT, FONT, HR



Books and more ...

Contents
HTML Elements / DOM Objects
HTML Element Attributes
CSS Attributes
DOM Object Properties
DOM-compliant Events Reference
DOM Methods Reference
DOM Collections Reference
 


Suggested Reading



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme