JavaScript Reference/Javascript Properties/vLink

Материал из Web эксперт
Перейти к: навигация, поиск

"vLink" Example

    
<html>
<body>
    <a href="http://www.wbex.ru" target="_blank">wbex.ru Home Page</a>
    <script language="JavaScript">document.body.vLink = "gold";</script>
</body>
</html>



"vLink" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<body>                          defaults                      |
+----------------+--------------------------------------------------------------+



"vLink" Syntax and Note

Note:
Read and write property. 
Sets the text color of all visited <a> elements. 

Value: 
Web color name or a hexadecimal value in #RRGGBB format.

    
Syntax:
    
document.body.vLink = value
document.getElementById("bodyID").vLink = value
document.all.bodyID.vLink = value // IE only