document.linkColor : linkColor « Document « JavaScript Tutorial






The linkColor property specifies the color of unvisited links.

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 6 digits that follow the pattern "RRGGBB."

<html>
    <a href="http://www.java2s.com">java2s.com</a><br>
    <script language="JavaScript">
    <!--
    document.linkColor="00ff00";
    -->
    </script>
    <a href="http://www.java2s.com">java2s.com</a>
    </html>








14.17.linkColor
14.17.1.document.linkColor in action
14.17.2.document.linkColor