Hour Eleven: Styling Links
The capability to make hyperlinks is what enables the interconnectedness of the Web; HTML itself is named for the hypertext links. Cascading Style Sheets can be used to style these links beyond the default blue-underlined text. You've already learned how to use :link and :visited pseudo-classes to create CSS rules for link presentation.
- What pseudo-selectors let you designate effects for active links, mouseovers, and an element focus
- Which order pseudo-classes follow for link styling and inheritance
- How do to some of the most common link effects, including replacing the attributes on the <body> tag, removing underlines, and creating dynamic mouseovers
Sample Code
You can download the sample code from each hour as one package or individual files.
- Download all [10K tar.gz file]
- Listing 11.1 [HTML]
- Display of three buttons
- Plain button image [GIF format]
- Green-glow button image [GIF format]
- Yellow-glow button image [GIF format]
- Listing 11.2 [HTML]
- Listing 11.3 [CSS]
Web Links
These are the links presented in this hour, given here for easy reference.
Updates and Errata
There are currently no updates to this hour's content.