Chapter 59. Applying Styles to Hyperlinks

HTML provides a basic set of attributes for controlling the appearance of hyperlinks on your page. These attributes appear in the body tag:

<body link="#0000FF" vlink="#FF00FF" alink="#FF0000">

GEEKSPEAK

An unvisited link is a link to a page that the browser doesn't remember visiting. A visited link is a link to a page that the browser does remember visiting. An active link is a link that the visitor is currently clicking or highlighting.

Table 59.1 summarizes the link attributes. As you can see, HTML ties them to three link states: the unvisited state, the visited state, and the active state. You use color to tell the three states apart. An unvisited link is a link to a page that the browser doesn't ...

Get Web Design Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.