Change the document.alinkColor : alinkColor « Document « JavaScript Tutorial






<html>
    <a href="http://www.java2s.com">The Green Site</a><br>
    <script language="JavaScript">
    <!--

    document.alinkColor="00ff00";

    -->
    </script>
    <a href="http://www.java2s.com">The Green Grass Page</a>
    </html>








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