Полезная информация

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Document.linkColor Property

Name

Document.linkColor Property---the color of unfollowed links

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

document.linkColor

Description

linkColor is a string property that specifies the color of unvisited links in document. All hypertext links in the document are displayed in this color, except for those that have already been followed or visited.

The link color can be specified through the LINK attribute in the <BODY> HTML tag, and the linkColor property will contain the specified value. The color may also be specified by assigning a value to linkColor directly, but this may only be done in the <HEAD> of the document, before the <BODY> tag is parsed.

Colors are specified either as one of the standard color names recognized by JavaScript, or as red, green, and blue color values, expressed as a string of six hexadecimal digits in the form "RRGGBB".

See Also

"Document", "Document.alinkColor", "Document.bgColor", "Document.fgColor", "Document.vlinkColor", Appendix G, JavaScript and HTML Color Names and Values


Previous Home Next
Document.lastModified Book Index Document.links[]

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell