Sub topic 11
Avoid Common Structural Mistakes
This chapter assumes you know basic HTML elements, how the heading hierarchy works, and how to write answer-first sections. It also assumes you have read the chapters on lists, tables, and choosing a format. Here you will learn the structural mistakes that most often make a page hard for retrieval systems to split, and how to fix each one.
Why structural mistakes matter
A retrieval-based answer system fetches a page, splits it into passages, and scores each passage against a question. Structure tells the splitter where one passage ends and the next begins. When the structure is wrong, passages get cut in the wrong places, lose their context, or are never extracted at all.
Fixing these mistakes does not guarantee that a page will be cited. It removes obstacles. A page with clean structure is easier to split, easier to quote accurately, and easier for people with screen readers to use.
Most mistakes fall into five groups:
- Headings that misstate the outline.
- Styling used in place of semantic elements.
- Sections that cannot stand on their own.
- Lists and tables built incorrectly.
- Content that is missing from the HTML or that disagrees with it.
Heading mistakes
Multiple h1 elements or none
A page should have one h1 that names the page's topic. Pages with several h1 elements, often one per visual banner, give the splitter no clear root. Pages with none leave every section without a parent.
Common causes are a logo wrapped in an h1 on every page, and a page builder that turns each hero block into an h1. Make the logo a link, and give the real title the single h1.
Skipped levels
Jumping from h1 to h3 implies a missing h2. Tools that build an outline from headings will either invent an empty level or attach the h3 to the wrong parent. Move down one level at a time. You can go back up by any number of levels, for example from h4 to h2, when a new major section starts.
Choosing a level for its size
Authors often pick h4 because the default font size looks right. Choose the level for its place in the outline and then control size with CSS. The reverse mistake is also common: a div or p with bold, large text that looks like a heading but is not one.
Vague headings
A heading such as "Overview", "More information", or "Details" says nothing when a passage is lifted out of the page. Compare the two versions below.
| Weak heading | Stronger heading |
|---|---|
| Overview | What does a factory reset do? |
| Details | Which router models support remote reset? |
| Next steps | How do I restore settings after a reset? |
| FAQ item 3 | How long does a firmware update take? |
The stronger headings name the question the section answers, so the section still makes sense when it appears alone.
Styling used in place of structure
Fake headings and fake lists
A paragraph styled to look like a heading, or a series of lines separated by <br> and bullet characters, looks correct on screen but carries no structure. A parser sees plain text.
<!-- Weak: structure exists only visually -->
<p class="big-bold">Requirements</p>
<p>• A router<br>• An ethernet cable<br>• A paperclip</p>
<!-- Better: structure exists in the markup -->
<h2>What do I need to reset a router?</h2>
<ul>
<li>A router</li>
<li>An ethernet cable</li>
<li>A paperclip</li>
</ul>Tables used for layout, and layout used for tables
Tables are for data with rows and columns. Using a table to position a sidebar and main column mixes layout cells with real data, and a splitter may treat the layout as a comparison. The opposite fault is also common: a comparison built from nested div elements or from an image of a table. Neither exposes rows and columns to a parser.
Text inside images
A screenshot of a pricing table or a diagram of steps cannot be quoted as text. If the information matters, publish it as a real table or list. Keep the image only if it adds something the text does not, and give it a short, accurate alt attribute.
Section mistakes
Sections that depend on context
A section that begins "As mentioned above, this takes the same amount of time" cannot stand alone. Once the passage is extracted, "this" and "above" point to nothing. Write the noun out: "A firmware update takes about five minutes."
Check for these signals:
- Pronouns at the start of a section with no earlier noun ("It", "This", "They").
- Phrases such as "see the previous section" or "as shown below".
- Abbreviations defined only once, far from where they are used.
Burying the answer
If a section about reset time opens with two paragraphs on the history of routers, the passage that gets scored begins with material unrelated to the question. State the answer in the first sentence and put background after it.
Oversized sections
A single section of several thousand words under one h2 forces the splitter to cut inside it, often in the middle of an argument. Add h3 headings where the topic shifts, so each cut falls at a boundary you chose.
Overly fragmented sections
The opposite fault also exists. A heading above a single short sentence produces many passages with too little content to be useful, and the page reads like a list of fragments. Merge sections that cannot answer a question on their own.
List mistakes
Wrong list type
Use ol when order changes the meaning, such as steps. Use ul when order does not matter, such as requirements. A list of steps in a ul loses the sequence, and a list of unordered options in an ol invents a ranking.
Paragraphs inside a single item
A list item should hold one action or one fact. A list where each li contains three paragraphs is prose with bullet markers. Split it into separate steps or return it to paragraphs.
Manual numbering
Typing "1." and "2." inside list items produces double numbering, such as "1. 1. Press the button", once the browser adds its own markers. It also breaks when someone inserts a step.
<!-- Weak: numbers typed by hand -->
<ol>
<li>1. Power on the router.</li>
<li>2. Hold the reset button.</li>
</ol>
<!-- Better -->
<ol>
<li>Power on the router.</li>
<li>Hold the reset button for 10 seconds.</li>
</ol>Lists with no lead-in
A list that appears directly under a heading with no sentence before it forces the reader to guess what the items are. Add a one-line statement that gives the answer or names the items, then follow it with the list.
Table mistakes
Missing header cells and captions
A table with only td cells has no labelled columns. Every value then depends on a reader looking at the first row. Use th with scope, and add a caption that says what the table compares.
Merged and empty cells
colspan and rowspan break the one-cell-one-value rule. A parser that reads the table row by row can pair a value with the wrong header. Empty cells are ambiguous, because they might mean "none", "not applicable", or "unknown". Write the intended value, for example "None" or "Not supported".
Several values in one cell
A cell that contains "10 users, 5 GB, email support" is a list squeezed into a cell. Give each attribute its own column.
Tables that should be prose
A table with two columns and one row per sentence is formatted prose. If the content has no real attributes to compare, use a paragraph or a list.
Structured data mistakes
JSON-LD is optional, and several errors can make it harmful instead of helpful:
- Marking up content that is not visible. Questions and answers in the JSON-LD must also appear on the page for readers.
- Mismatched text. If the visible answer is updated and the JSON-LD is not, the two disagree.
- Wrong type.
FAQPageis for pages whose questions are answered by the publisher, not for forums or for a single product description. - Treating it as a ranking switch. Valid markup does not ensure a page will be quoted.
Content that never reaches the parser
Some pages put their main text where a simple fetcher cannot find it.
- Client-side rendering only. If the HTML delivered by the server is an empty shell and JavaScript builds the content, a crawler that does not run scripts sees nothing. Render the main content on the server, or ahead of time.
- Content hidden until a click. Text in accordions and tabs is usually present in the HTML, which is fine. Text that is fetched only after the click is not.
- Content in iframes or embedded widgets. The text belongs to another document and is not attributed to your page.
- Navigation and cookie banners placed before the main content. Use
nav,main, andfooterso the parser can tell the page's body from its surroundings.
Seeing the effect of a mistake
The following diagram shows how a skipped level and a missing section boundary change the passages a splitter produces.
A worked before-and-after
This page has several of the mistakes above in a small space.
<h1>Router Guide</h1>
<h1>Welcome</h1>
<h3>Overview</h3>
<p>As noted earlier, it takes a while. Many users find it useful.</p>
<p>1. Hold the button<br>2. Wait</p>It has two h1 elements, a skipped level, a vague heading, a section that depends on earlier text, and a fake list. A repaired version follows.
<h1>Router Guide</h1>
<h2>How long does a factory reset take?</h2>
<p>A factory reset takes about two minutes from the moment you release the button.</p>
<h3>What are the steps?</h3>
<p>The reset has two steps, and the second is waiting.</p>
<ol>
<li>Hold the reset button for 10 seconds.</li>
<li>Wait for the router to restart.</li>
</ol>Each repair is small, and together they give the splitter an outline with one root, no gaps, and sections that answer a question.
A quick pre-publish checklist
- The page has exactly one
h1. - No heading level is skipped when moving down.
- Each heading names its section's topic or question.
- Each section opens with its answer and uses no unresolved pronouns.
- Steps use
ol, unordered items useul, and no numbers are typed by hand. - Tables have a
caption,thcells withscope, and no merged or empty cells. - Any JSON-LD repeats text that is visible on the page.
- The main content is present in the server-delivered HTML.
Exercise
A page has an h1, then an h3 titled "Details", then a paragraph beginning "This costs more on the Team plan." List three structural problems and say how to fix each.
Show answer
First, the heading level jumps from h1 to h3. Change "Details" to an h2, or add an h2 above it. Second, "Details" is vague. Rename it to something that names the question, such as "How much does the Team plan cost?". Third, the paragraph starts with "This", which has no referent once the passage is extracted. Rewrite it to open with the answer and name the subject, for example "The Team plan costs $40 per month, which is more than the Basic plan."
Exercise
A comparison table uses only td cells, has a cell reading "10 users, 5 GB, email support", and leaves one cell empty. Describe the repairs.
Show answer
Make the first row th cells with scope="col", and make the first cell of each body row a th with scope="row". Add a caption that states what is compared. Split the combined cell into three columns, one each for users, storage, and support. Replace the empty cell with an explicit value such as "None" or "Not supported".
Exercise
Why does a page whose content is built entirely by JavaScript after load risk being skipped by an AI answer system, even if its headings are perfect?
Show answer
A crawler that does not run scripts receives only the empty HTML shell. The headings, lists, and tables exist only after JavaScript runs, so the system never sees them. Rendering the main content on the server, or generating it ahead of time, puts the structure in the delivered HTML.