Project 5. List-Based Menus
In America, even your menus have the gift of language….
Oh, those menus. In America, they are poetry. —LAURIE LEE
common technique nowadays is to take collections of links (sometimes called menus) and place them inside lists, with one link per list item.
point of view, it's a pretty close match.
From a styling point of view, there are some major benefits as well. Because each list item contains a link, two different elements (li and a) can be styled independently. Since the basis of styling is elements, the more elements you have to work with the better.
|