HTML and CSS Reference
In-Depth Information
Press Enter (Return) and enter the following code:
div#nav ul li a:hover {
color: #FFF;
background-color: #F70816;
Save your file.
In your browser, open tpa.html to view the newly-styled navigation bar, shown in Figure
15-3. Click on any link to go to that page.
FiGure 15-3
usinG deFiniTion LisTs and THe <diaLoG> TaG
HTML supports another type of list used for creating definitions, like in a glossary. A definition list
is made of three tags:
: The surrounding definition list tag
: The definition term
: The definition data or description
Search WWH ::

Custom Search