JavaScript Reference/Javascript Properties/aLink
"aLink" Example
<source lang="javascript">
<html> <body onLoad="goColor();"> <script>
function goColor() { document.body.aLink = "red"; }
</script> <a href="http://www.wbex.ru/">wbex.ru (click to turn red)</a> </body> </html>
</source>
"aLink" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<body> | +----------------+--------------------------------------------------------------+
</source>
"aLink" Syntax and Note
<source lang="javascript">
Note: Read and write property. Sets all active links" color.
Value: Web color name or hexadecimal value in #RRGGBB format.
Syntax:
document.body.aLink = value document.getElementById("bodyID").aLink = value document.all.bodyID.aLink = value // IE only
</source>