Chapter 9. Organizing Content with Tables and Lists
In This Chapter
Using tables to organize content
Adding content to tables
Formatting tables and table cells
Nesting tables
Organizing content with lists
Setting the list type
Nesting lists
When it comes to keeping your content organized so that visitors can quickly find what they are looking for, consider marking up your content with HTML tables and lists. Tables are useful for displaying tabular data and information with multiple categories, such as financial figures, store locations, and menu offerings. Lists can be a great resource for times when you need to show things in sequence, such as how a set of items are structured relative to one another (as with links to all the site's pages on a site map page or a set of navigation buttons), or for times when you need your content to display in the order in which a set of items should be accessed or utilized (as with items in a numbered list).
In this chapter, you find out how easy it is to mark up basic content into table and list format. In addition, you read about adding and formatting content in tables, nesting tables for complex page elements, organizing and structuring list content, and list nesting to create multitiered lists.
Inserting Tables on a Page
While most modern page layouts rely on layers using <div>
tags to organize content within the browser instead of tables, which was once ...
Get Web Design All-in-One for Dummies® 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.