document.alinkColor : alinkColor « Document « JavaScript Tutorial






Syntax

document.alinkColor

The alinkColor property specifies the color of activated links.

A link is considered activated between the time the mouse button is pressed and released over a link.

The color is expressed as a string in hexadecimal digits or as one of the JavaScript standard color names.

The hexadecimal form is made up of six digits that follow the pattern "RRGGBB."

<HTML>
<head>
<title>this is a title</title>
</head>
<BODY bgcolor="beige" text= "black" link="darkblue" vlink="honeydew">

<SCRIPT language="JavaScript">
<!--

document.write("The active link color is "+document.alinkColor);

//-->
</SCRIPT>

</BODY>

</HTML>








14.2.alinkColor
14.2.1.document.alinkColor
14.2.2.Change the document.alinkColor