Name
LINK — NN all IE all HTML 3.2
Synopsis
LINK=”colorTripletOrName"Optional
Establishes the color of a hypertext link that has not been visited
(i.e., the URL of the link is not in the browser’s cache). This
is one of three states for a link: unvisited, activate, and visited.
The color is applied to the link text or border around an image or
object embedded within an A element. This
attribute is deprecated in favor of the BODY:link
{color:} style sheet rule (and the future
:link pseudo-class, as described in Chapter 10).
Example
<BODY LINK="#00FF00">...</BODY>
Value
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.
Default
#0000FF
Object Model Reference
- NN
[window.]document.linkColor
- IE
[window.]document.linkColor
[window.]document.body.link
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access