'alinkColor' Example : alinkColor « Javascript Properties « JavaScript Reference

'alinkColor' Example

    
<html>
<body onLoad="goColor();">
<script>
    function goColor() {
        document.alinkColor = "red";
    }
</script>
<a href="http://www.java2s.com/">Java2s.com Link: click to turn red</a>
</body>

    
      
      








Related examples in the same category

1.'alinkColor' Syntax and Note
2.'alinkColor' is applied to