JavaScript Tutorial/Document/linkColor — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:24, 26 мая 2010
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."
<source lang="javascript">
<html>
<a href="http://www.wbex.ru">wbex.ru</a>
<script language="JavaScript"> </script> <a href="http://www.wbex.ru">wbex.ru</a> </html></source>
document.linkColor in action
<source lang="javascript">
<HTML> <head> <title>this is a title</title> </head> <BODY bgcolor="beige" text= "black" link="darkblue" vlink="honeydew"> <SCRIPT language="JavaScript">
</SCRIPT> </BODY> </HTML></source>