Having your links respond to user interaction is an important part of site navigation.…In CSS, we use pseudo-class selectors to style the various states of links. Let's go ahead…and explore each one of those, and I'm going talk about some of the things that we need…to keep in mind while we're using those various links states.…So in this particular exercise, I've opened up the states.htm from the 02_03 directory,…and I just want to show you some of the page structure here before we begin working on this.…If I scroll down into the actual HTML code, I can see that I have a list of links on the page.…
The very first link has an ID of anchor but no href attribute.…All the rest of them do have an href attribute, but the first three go to visit.htm and the…second two just kind go nowhere to the little period link there.…Now each of these is going to help me illustrate these different various link states.…If I go ahead and open up this page in a browser, you can kind of see what's happening here…with the browser's default styling.…
- Organizing menus with lists
- Creating block-level links
- Styling links, link states, and image links
- Defining link dimensions
- Controlling link spacing in a menu
- Creating rollovers
- Clearing floats
- Indicating current pages
- Controlling cursor states
- Building dropdown menus
- Creating CSS-only buttons
Skill Level Intermediate
1. Structuring Navigation
2. Link Styling Basics
3. Creating a Vertical Menu
4. Creating Horizontal Menus
5. Dropdown Menus
6. Enhancing Navigation with CSS
Additional resources6m 29s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.