Working with Menus
A menu is very much like a list. The markup is nearly exactly the same, and you use menus to present a large number of options, just like a list. The main difference is that the options appear in a dropdown list, as in Figure 68.7.
Listing 68.7. View Source for Figure 68.7.
<form> <table> <tr> <td>Select the newsletter you would like to receive:</td> </tr> <tr> <td><select name="select"> <option value="news" selected>News</option> <option value="sports">Sports</option> <option value="business">Business</option> <option value="entertainment">Entertainment</option> <option value="humor">Humor</option> <option value="style">Style</option> <option value="travel">Travel</option> <option value="science">Science</option> <option ... |
Get Web Design Garage now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.