Name
ALINK — NN all IE all HTML 3.2
Synopsis
ALINK=”colorTripletOrName"Optional
Establishes the color of a hypertext link when it is activated (being
clicked on) by the user. This is one of three states for a link:
unvisited, active, 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:active
{color:}
style sheet rule (and the future :active
pseudo-class, as described in Chapter 10).
Example
<BODY ALINK="#FF0000">...</BODY>
Value
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.
Default
#FF0000 (in Navigator 4);
#000000 (in IE 4).
Object Model Reference
- NN
[window.]document.alinkColor
- IE
[window.]document.alinkColor
[window.]document.body.aLink
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