Sub topic 5
Writing Passages That Survive Being Lifted Out of Context
Assume you know basic HTML, can edit web content, and understand how search engines display results. This chapter focuses on a practical problem: an AI answer system may retrieve one paragraph, list, or table row without retrieving the rest of your page.
A self-contained passage states its subject, answer, scope, and important conditions inside the passage itself. It should still make sense when copied into an answer without its surrounding heading or paragraphs.
What makes a passage self-contained?
Write the answer in the first sentence or two. Then add the qualification, reason, or procedure that helps the reader use the answer correctly.
For example, this passage depends too much on its heading and nearby context:
## Caching
Five minutes is usually a good starting point. You can adjust it based on traffic and how often the data changes.The number is unclear when retrieved alone. Five minutes for what? What does “it” mean?
This version names the subject and gives the scope:
## How long should I cache product API responses?
Cache product API responses for 5 to 15 minutes when product prices and availability can be several minutes out of date. Use a shorter time-to-live (TTL), which is the period before a cached response expires, when inventory changes quickly.The second passage identifies the object, gives a range, defines TTL, and explains when the recommendation changes.
A useful self-contained passage usually includes:
- The subject, such as “product API responses” rather than “these responses”
- A direct answer or claim
- The relevant scope, audience, version, date, or conditions
- Definitions for terms that a reader may not know
- Units and concrete values
- A source or attribution when the claim depends on external evidence
How should you handle context and pronouns?
Assume the passage can lose its heading, introduction, and links. Replace vague references with specific nouns.
| Weak reference | Self-contained wording |
|---|---|
| “It reduces latency.” | “A CDN reduces latency for static files.” |
| “Use this method for large sites.” | “Use sitemap indexes for sites with more than 50,000 sitemap URLs.” |
| “This limit changed last year.” | “Google changed the documented crawl-rate setting in 2024.” |
Avoid starting with “This,” “It,” “They,” or “As noted above” unless the noun appears in the same sentence. These words are not always wrong, but they make extracted text harder to interpret.
Qualifiers also need to stay with the claim they limit. Do not put “in most cases,” “for unauthenticated users,” or “as of March 2026” several paragraphs away. An answer system may retrieve the claim without the qualifier and produce an overgeneralized answer.
How do headings and passages work together?
A heading should state the question or topic. The paragraph below it should answer that question without requiring the heading for basic meaning.
A heading such as “Caching” labels a topic. A heading such as “How long should I cache API responses?” gives the retrieval system and the reader a stronger signal about the passage’s purpose.
Keep one main answer per section. If a section answers several unrelated questions, retrieval may combine the wrong sentences or miss an important condition. Split the material into separate sections with descriptive headings.
How can you make lists and tables safe to extract?
Introduce a list with a sentence that explains what the list contains. Each list item should remain understandable if the introduction is omitted.
Weak list:
- Add it
- Check the status
- Fix errors
Self-contained list:
- Add the absolute canonical URL to the page.
- Check that the canonical URL returns an HTTP 200 status.
- Fix conflicting canonical tags when multiple URLs identify different preferred pages.
Tables need the same treatment. Include the subject in the column headers, and avoid cells that only say “yes,” “no,” or “recommended” without a row label.
A passage can be concise without being incomplete. Remove filler, but keep the details that control interpretation.
:::callout note Before publishing, copy each important paragraph into a blank document without its heading. If you cannot identify the subject, answer, scope, or condition, rewrite the paragraph. :::
Common failure modes
- Pronoun dependence: “It” refers to a term in a previous section.
- Detached qualifiers: A date or exception appears outside the retrieved passage.
- Undefined numbers: A percentage, limit, or time period has no unit or object.
- Overloaded sections: One heading covers several unrelated questions.
- Context-free recommendations: “Use the recommended setting” does not name the setting.
- Unsupported certainty: “Always” and “never” hide conditions that should be stated.
The goal is not to repeat every detail on the page. The goal is to make each important passage accurate, identifiable, and useful when read by itself.
Exercise
Rewrite this sentence so it survives extraction: “It usually takes 24 hours, but check again if this does not happen.”
Show answer
“A new sitemap URL usually appears in search engine processing reports within 24 hours. If the sitemap still does not appear after 24 hours, check that the sitemap URL returns HTTP 200 and is accessible to crawlers.”