HTML and CSS Reference
In-Depth Information
10.
Press Enter (Return) and enter the following code:
div#nav ul li a:hover {
color: #FFF;
background-color: #F70816;
}
11.
Save your file.
12.
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
<dl>
: The definition term
<dt>
: The definition data or description
<dd>
Search WWH ::




Custom Search