4.2 Unordered Lists
We start this chapter by learning how to implement lists. Let’s jump right into an example. In FIGURE 4.1’s web page, note the unordered list that shows my weekday routine. It’s called “unordered” because the list items have bullets and circles next to them, and bullets and circles do not imply any order. If you prefer to have the list items ordered, you can replace the bullets and circles with numbers and letters, as explained in a later section.
To create an unordered list, you surround the entire list with a ul
container (ul
for unordered list) and use li
containers for the individual ...
Get Web Programming with HTML5, CSS, and JavaScript 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.