CHAPTER 7Links

Rare is the web page that doesn't link to another. Without links (a.k.a. hyperlinks), nobody would go anywhere. A Google results page would be pointless, web-based advertising wouldn't exist (possibly not such a bad thing), and if somebody managed to reach your home page, they'd be hard pushed to find their way anywhere else.

As somebody pretty familiar with (X)HTML, it is probably fair to assume that you have created a link already, but managing to link to another web page is only the beginning. With CSS, links become magical objects that can be both beautiful and functional. From the humble rollover color to advanced image maps and complex menus, link styling is a vast and ever-evolving area of web design that is essential to ...

Get Beginning CSS Web Development: From Novice to Professional 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.