Sub topic 9
When a table beats a list
This chapter assumes you can write basic work documents and read simple Markdown. You do not need to know table syntax in advance. The chapter covers one decision: when a table serves the reader better than a list or a paragraph.
The test: same attributes, several items
A list shows items in a single dimension. Each item is one line of text, and the reader compares items by holding them in memory. A table adds a second dimension. Each row is an item, and each column is an attribute that every item shares.
Use a table when both conditions hold:
- You have at least three items.
- Each item is described by the same two or more attributes.
If the reader's likely question is "which one has X?" or "how does A differ from B?", the content is a comparison. Comparisons belong in a table.
Seeing the difference
Here is a plan comparison written as a paragraph:
The Basic plan gives 10 GB for one user at $5 a month. The Team plan gives 100 GB for 10 users at $20 a month. The Scale plan gives 1 TB for 100 users at $90 a month.
The reader must read every word to find the cheapest plan with at least 50 GB. The same facts in a table:
| Plan | Storage | Users | Price per month |
|:------|--------:|------:|----------------:|
| Basic | 10 GB | 1 | $5 |
| Team | 100 GB | 10 | $20 |
| Scale | 1 TB | 100 | $90 |The reader now scans down the Storage column and finds the answer in seconds. The paragraph repeated the labels "gives," "for," and "a month" three times. The table states each label once, in the header.
When a list is still the better choice
A table is not always an upgrade. Stay with a list when:
- Items have only one attribute, such as a set of names or tasks.
- Items have different attributes, so many cells would be empty.
- The order of steps matters more than their properties. Use a numbered list.
- Each item needs a full sentence or more of explanation. Long text in cells is hard to read.
A common error is a two-column table where the first column is a label and the second is a sentence. If no item has a third attribute, a bulleted list with bold labels usually reads better.
- **CSV:** opens in spreadsheets.
- **JSON:** suits scripts and programmatic processing.
- **XML:** suits older systems.Common errors
- Using a table for layout. Tables that place text side by side for appearance confuse screen readers and break on narrow screens.
- Mixing item types in one table. If half the rows lack a value in a column, the column belongs to a different table or to a list.
- Cramming sentences into cells. Keep cells to a word, a number, or a short phrase. Move longer explanation below the table.
- Skipping the lead-in. Tell the reader what the table shows before it appears, for example "The table compares the three plans by storage, users, and price."
Quick comparison
| Content | Best format | Reason |
|---|---|---|
| Three options, each with price and limits | Table | Shared attributes allow column scanning |
| Steps to release software | Numbered list | Order matters |
| Four unrelated reminders | Bulleted list | One attribute, no order |
| An argument with reasons and caveats | Paragraph | Ideas depend on each other |
Exercise
A teammate writes this: "Alice is on the design team and works in Berlin. Ben is on the support team and works in Lisbon. Chloe is on the design team and works in Austin." Should it become a table, a bulleted list, or stay a paragraph? Name the columns if you choose a table.
Show answer
A table. There are three items and each has the same attributes. Use the columns Name, Team, and City, with one row each for Alice, Ben, and Chloe.
Exercise
You need to document five steps for resetting a password. Each step is one short sentence. Should you use a table? Why or why not?
Show answer
No. The steps share no attributes beyond their text, and their order matters. A numbered list fits better.