Chapter 10. Navigation

Navigation

Hypertext links allow you to jump around a Web page, a Web site, or the entire Web. All links, whether internal or external, are created using the anchor tag (<a>) to link an image or text to another location. However, different types of links should be styled differently.

Hypertext links in a block of text generally have a different emphasis than site navigation, while buttons are used to highlight specific functionality. CSS provides us with an easy way to take a single HTML tag and give it a multitude of looks based on its context.

CSS Sprites

All navigation in a Web browser, whether a hypertext link or a menu option, relies ...

Get Speaking in Styles: Fundamentals of CSS 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.