Javascript Reference
Categories: document

javascript document alinkColor

@March 15, 2008, 1:22 a.m.
alinkColor Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a

Read/Write (IE)

Specifies the color of a hypertext link as it is being clicked. The color is applied to the link text or border around an image or object embedded within an a element. See also linkColor and vlinkColor properties for unvisited and visited link colors. Replaced in the W3C DOM by the aLink property of the body object, which is supported in IE 4 and later and in Netscape 6. Dynamically changed values for alinkColor are not reflected on the page in Navigator through Version 4.

 
Example
 
document.alinkColor = "green";
 
Value

A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.

 
Default

#0000FF


Powered by Linode.