HTML and CSS Reference
In-Depth Information
<ul>
<li><a href="#">Apples</a>
<ul>
<li><a href="#">
Red Delicious
</a></li>
<li><a href="#">
Gala
</a></li>
<li><a href="#">
Macintosh
</a></li>
</ul>
</li>
<li><a href="#">Oranges</a>
<ul>
<li><a href="#">
Navel
</a></li>
<li><a href="#">
Valencia
</a></li>
<li><a href="#">
Blood
</a></li>
</ul>
</li>
</ul>
</body>
</html>
Figure 3.20 shows how this appears in a typical browser. he window on the
right shows the drop menu for oranges activated by the mouse pointer's hover-
ing on the link.
Figure 3.20: Creating a simple drop menu
We have not covered all of CSS. A number of important properties control the
fundamental display characteristics of an HTML element. his section covers
the properties
display
,
visibility
,
overflow
,
float
, and
clear
.