home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Document.linkColor Property


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


Navigator 2.0, Internet Explorer 3.0




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".

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