6.7 CSS for Links
Have you ever noticed that after clicking on a link and returning later, the link’s color is different? For example, note the different colored links at the top of the Clock Tower web page in Figure 6.6. The left link, labeled Clock Tower Photograph, is blue, indicating that the link has not been clicked. On the other hand, the right link, labeled Clock Tower Photograph, is purple, indicating that the link has been clicked in the past. By default, the major browsers use blue text for unclicked links and purple text for clicked links. More formally, those links are referred to as unvisited links and visited links, respectively. The HTML5 standard does not mention blue and purple as typical defaults, but those colors have been ...
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