In this chapter, you’ll learn how you master three of the most common (and most practical) web design techniques. You’ll learn how to build fancy buttons—for example, ones that light up when a mouse hovers over them. You’ll also use a pop-up or pop-open menu system, so visitors can cruise around your site in style.
The trends and styles of web design are always changing. In the early days of the Web, everyone used ordinary text links, like the ones you learned about in Chapter 8:
<a href="graceland.html">Visit Elvis</a>
Over time, these run-of-the-mill links started to look drab. Creative webmasters wanted more, and they decided to use small, clickable pictures instead. To do this, they pulled out the familiar <img> element and applied one of two techniques.
The most straightforward approach to creating a graphical button is to wrap the image in an anchor, as described in Chapter 8. Here’s what that looks like: