Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

Creating Drop-Down Menus 307

11


The navigation bar starts as a regular nested HTML list. Styles will be used to convert it
into the dynamic navigation bar. Here’s the source code for the page:


<!DOCTYPE html>




Navigation Menus



A Typical Web Site



Typical web site content.




FIGURE 11.12
A navigation bar
with drop-down
menus.

Free download pdf