14. 17. 2. document.linkColor |
|
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.java2java.com">java2s.com</a><br>
<script language="JavaScript">
<!--
document.linkColor="00ff00";
-->
</script>
<a href="http://www.java2java.com">java2s.com</a>
</html>
|
|