Sub topic 6
Structuring the page and building a readable comparison table
This chapter assumes you know basic HTML (headings, lists, tables), how search engines crawl and index pages, and how AI assistants use web search to answer questions. It covers how to lay out a comparison or best-of page so that a person can scan it and a retrieval system can pull clean, correct facts from it.
Why structure matters for retrieval
An AI assistant that answers a recommendation query usually does not read your whole page in order. A retrieval step fetches the page, splits it into passages, and scores those passages against the query. The assistant then quotes or paraphrases the passages that fit. This has three consequences for page design:
- A passage should make sense on its own. If a paragraph says "it" or "the second option" without naming the product, it loses meaning when it is lifted out of the page.
- Facts should sit in predictable places. A price in a table cell under a "Starting price" header is easier to extract and attribute than a price hidden in the middle of a sentence.
- Headings act as labels for the passages beneath them. A heading such as "Tool B: best for timelines" tells both a reader and a parser what the next block is about.
Good structure for people and good structure for parsers are mostly the same thing. You do not need a separate version of the page for machines.
A page skeleton that works
A best-of or comparison page has a common shape. Each part answers a question the reader (or the assistant) is likely to have.
- A title that states the audience and the task, for example "Best project management tools for small teams".
- A short summary near the top: who the page is for, how many products were compared, and the top pick for each main use case.
- A "How we chose" section that states the criteria and method. The next chapters cover the content of this section. Here, the point is that it has a fixed, labeled place.
- A summary comparison table.
- One section per product, each with the same internal layout.
- A disclosure and update note.
- A short FAQ for the questions buyers ask most.
Keep product sections parallel
Give every product the same sub-structure, in the same order. For example:
- An H2 or H3 with the product name and a one-line verdict.
- Best for: one sentence.
- Pros and cons: short lists.
- Pricing: the plan names and numbers, with the date you checked them.
- Notable limits: for example user caps or missing features.
Parallel structure makes the comparison fair, because every product is judged on the same fields. It also lets a retrieval system answer a narrow question ("does Tool B have a free plan?") from one predictable spot.
Use headings as real outline
Use one h1, then h2 for main sections and h3 for products or sub-parts. Do not skip levels to get a visual size. Do not make headings out of bold text, because the bold text carries no outline information. Write headings that name the thing and the claim. "Pricing" is weak when there are eight of them on one page. "Tool A pricing" stays meaningful when a passage is extracted alone.
Build the comparison table
A comparison table is the densest and most reusable part of the page. Build it as a real HTML table. A table made from images, from div elements styled to look like a grid, or from a screenshot hides the data from parsers and from screen readers.
Here is a basic accessible table. The figures are placeholders.
<table>
<caption>Project tools compared for small teams (checked 2026-11)</caption>
<thead>
<tr>
<th scope="col">Tool</th>
<th scope="col">Best for</th>
<th scope="col">Free plan</th>
<th scope="col">Starting price (per user/month)</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Tool A</th>
<td>Simple task boards</td>
<td>Yes, up to 10 users</td>
<td>$8</td>
</tr>
<tr>
<th scope="row">Tool B</th>
<td>Teams that need timelines</td>
<td>No</td>
<td>$12</td>
</tr>
</tbody>
</table>Each element does a job:
captionnames the table and, here, gives the date the data was checked. A passage taken from the table keeps its date.theadandth scope="col"define what each column holds.th scope="row"in the first cell makes the product name the label for the whole row. Without it, a cell value such as "$12" has no product attached once it is read on its own.tbodyholds the data rows.
Rules for the cells
- Put one fact in each cell. "Yes, up to 10 users" is fine. A cell holding three sentences is a paragraph in disguise.
- Write values in a consistent form across a column. If one price is "$8" and another is "From eight dollars, billed yearly," the column cannot be compared or parsed reliably.
- Say "No" or "Not available" for a missing feature instead of leaving the cell empty or using a dash. An empty cell is ambiguous: it can mean "no," "unknown," or "forgot."
- Avoid icons as the only value. A checkmark image has no text. If you use a symbol, put the word beside it ("Yes") or in the cell text.
- Do not merge cells with
rowspanorcolspanunless you must. Merged cells break the simple grid that parsers and screen readers expect. - State the unit in the header, as in "Starting price (per user/month)". Then the cell only needs the number.
- Mark billing assumptions. If the price is the annual rate, say so in the header or the caption.
Choose columns on purpose
The table columns should be the criteria you defined in the method section, in the same wording. If the method says you compared "free plan," "timelines," and "integrations," those words should be column headers. A reader (or assistant) can then connect a claim in the prose to a column in the table.
Keep the table narrow enough to read. A good summary table has a product column plus roughly four to seven criteria. If you need more, split the data. Put a short table at the top with the decision criteria, and a longer feature matrix lower on the page, under its own heading.
Mobile and wide tables
Wide tables are a common failure on phones. Wrap the table in a scrollable container with CSS and keep the first column fixed if you can, so the product name stays visible. Do not replace the table with images for small screens, and do not hide columns with CSS that removes them from the page for some devices if the content matters. Check that the full table is present in the HTML the server returns, not only after a script runs. Chapter-level details on rendering and crawl access come later in this tutorial.
<div style="overflow-x: auto;">
<table>
<!-- table content as above -->
</table>
</div>Write passages that survive extraction
After the table, each product section should carry prose that repeats the key facts in a self-contained way. Compare these two openings:
- Weak: "It is also a good choice if you need timelines, and it costs more."
- Stronger: "Tool B is the better choice for teams that need timelines. It has no free plan and starts at $12 per user per month (checked November 2026)."
The second version names the product, states the claim, gives the numbers, and dates them. If an assistant lifts only that sentence, it is still accurate and attributable.
A few more habits help:
- Put the verdict first, then the reasons. Do not make the reader or a parser wait until the fourth paragraph.
- Use short lists for pros and cons, with one idea per item.
- Name the audience in the claim: "best for teams under 10 people" is more useful than "best overall."
- Keep the order of products consistent between the summary, the table, and the sections. If the page is ranked, the ranking should match everywhere. The next chapters on markup build on this match.
Link the page together
Give each product section an id so that the table and the summary can link to it, for example id="tool-a". The row header in the table can be a link to #tool-a. These anchors also give you stable URLs for the list items in structured data, which a later chapter covers.
<tr>
<th scope="row"><a href="#tool-a">Tool A</a></th>
<td>Simple task boards</td>
<td>Yes, up to 10 users</td>
<td>$8</td>
</tr>Common errors
| Error | Effect | Fix |
|---|---|---|
| Table built as an image or a styled `div` grid | Data is not readable by parsers or screen readers | Use a real `table` with `th` elements |
| No row headers | Cell values lose their product when read alone | Use `th scope="row"` for the product name |
| Empty cells or dashes | Ambiguous meaning | Write "No" or "Not available" |
| Mixed formats in one column | Column cannot be compared | Use one format and put units in the header |
| Product sections in different layouts | Unfair comparison, harder extraction | Use the same sub-structure for every product |
| Ranking differs between table and prose | Contradictory signals | Keep one order everywhere |
| Table filled in only by JavaScript | Content may be missing for crawlers that do not run scripts | Serve the table in the initial HTML |
Review checklist
Before you publish, check each point:
- The page has one
h1and a logicalh2/h3outline. - A summary and top picks appear near the top.
- The method section is labeled and findable.
- The table uses
caption,thead,tbody, andthwithscope. - Every cell has one fact, in a consistent format, with no empty values.
- Every product section has the same sub-structure.
- Prices and limits carry a "checked" date.
- The table and the product sections are present in the server-rendered HTML.
- Product order matches in the summary, table, and sections.
Exercise
A page's comparison table has a first column of product names written in td cells, and a "Free plan" column where unavailable features are shown as a dash. Name two problems this creates for a retrieval system or screen reader, and give the fix for each.
Show answer
First, product names in td cells mean the row has no row header, so a value such as "Yes, up to 10 users" is not tied to a product when the cell is read on its own. Fix: make the first cell of each row a th scope="row". Second, a dash is ambiguous, since it can mean "no," "unknown," or "not filled in." Fix: write "No" or "Not available" in the cell so the value is explicit.
Exercise
You are rewriting the sentence "It also has a free tier, but it is pricier." for a product section. Rewrite it so it still makes sense if an assistant extracts only that sentence, using placeholder values.
Show answer
For example: "Tool B has no free plan and starts at $12 per user per month (checked November 2026), which is higher than Tool A's $8." The rewrite names the product, states the facts with numbers, gives a check date, and does not depend on surrounding text.