HTML and CSS Reference
The display:block declaration converts the linked text to more of a button-like behavior.
Whenever the user's mouse hovers anywhere over the rectangle (or box) defined by the padding,
margins, width, and height of the linked text or image, the pointer symbol is displayed, as shown in
Quite often, there is a change specified in the hover state to either the text or background color (or
both) to indicate a live link. It's not uncommon for a background image to be temporarily replaced
on hover, either.
In this Try It you learn how to create a horizontal navigation bar.
You will need the tpa.html file from the Lesson_15 folder, as well as a text editor and web browser.
You can download the code and resources for this lesson from the topic's web