Sub topic 3
Putting the answer first
This chapter assumes you know basic HTML (headings, paragraphs, lists), have written or edited web content such as docs or help articles, and have a general sense of how search results appear. You do not need to know how retrieval systems work internally. The previous chapters covered how AI answer systems retrieve passages and why those passages, not whole pages, are the unit of retrieval. Here you apply that: you rewrite openings so the answer comes first.
What "answer-first" means
Answer-first writing puts the conclusion in the first one to three sentences under a heading. Context, caveats, history and alternatives follow. It is the same principle as the inverted pyramid in journalism: the most important fact comes first, and each later paragraph adds detail.
This matters because a retrieval system splits a page into passages and scores each one against a question. A passage that begins with background scores as background. A passage that begins with the answer matches the question directly, and a system that quotes or paraphrases it can lift the opening sentences without rewriting. No technique guarantees citation. Answer-first structure raises the chance that your passage is a good match and makes it easy to use accurately when it is chosen.
The anatomy of an answer-first opening
A good opening has three parts, in this order:
- The direct answer. One sentence that responds to the question the heading asks.
- The key condition or number. A second sentence that makes the answer usable: a range, a default, a threshold, or the main exception.
- A pointer to what follows. An optional third sentence that tells the reader what the rest of the section covers.
Here is the example from the plan, shown as a before and after.
Before (answer buried):
## Caching
Caching has been used in computing for decades, and teams approach it in many ways. Before choosing a strategy it helps to consider your traffic, your data, and your tolerance for stale results. One option many teams consider is a time-based expiry...
After (answer first):
## How long should I cache API responses?
Cache API responses for as long as the data can be stale without harming users. For data that changes a few times a day, a time-to-live (TTL) of 5 to 15 minutes is a common starting point. The sections below explain how to choose a TTL and when to invalidate early.Three things changed:
- The heading now names a question a person might type or speak.
- The first sentence states the rule.
- The second sentence gives a concrete number with a scope ("data that changes a few times a day").
The "before" version never answers within its first three sentences. A system that extracts the first passage gets nothing it can quote.
A workflow for rewriting a buried answer
Use this procedure on existing pages.
- Find the question. Write down, in one line, the question this section answers. If you cannot, the section may be covering two topics and should be split.
- Write the answer in one sentence. Do this without looking at the existing text. Say it as you would to a colleague who asked in passing.
- Add the qualifier. Ask what a reader needs to apply the answer: a number, a default, a condition, the main exception. Put one of these in sentence two.
- Move everything else below. Background, history, comparisons and edge cases come after the opening.
- Check the opening alone. Copy only the first two sentences into a blank document. If they still make sense and answer the question, you are done.
Step 5 is the most useful test. It simulates what an extraction system may do: take the start of a passage and ignore the rest.
Where answer-first applies
Apply it at every level where a reader or system might enter the page.
| Level | What goes first | Example |
|---|---|---|
| Page | A summary or definition in the first paragraph | "A canonical URL is the preferred address of a page when the same content is reachable at several URLs." |
| Section | The answer to the heading's question | "Use the full absolute URL, including the protocol." |
| List or procedure | A one-line statement of the goal before the steps | "To set a canonical version, follow these steps:" |
| Table | A sentence stating what the table shows | "The table compares TTL values by how often data changes." |
A page-level opening helps when a system treats the page's beginning as a summary. A section-level opening helps when the system retrieves from the middle of a page. Do both. Do not assume readers or systems start at the top.
Definition-first paragraphs
For "what is" questions, the answer is a definition. Use the pattern: term, category, distinguishing feature.
<section id="what-is-a-canonical-url">
<h2>What is a canonical URL?</h2>
<p>A canonical URL is the preferred address of a page when the same content is reachable at several URLs. You declare it with a <code><link rel="canonical"></code> element in the page head, so search engines know which version to index.</p>
<h3>How to choose the canonical version</h3>
<ol>
<li>Pick the URL you want people to land on.</li>
<li>Use the full absolute URL, including the protocol.</li>
<li>Add the same canonical link to every duplicate page.</li>
</ol>
</section>Look at how this section is built:
- The
<h2>is a question. - The first sentence defines the term using its own name ("A canonical URL is..."), so the sentence works if quoted alone.
- The second sentence says how to do it, which answers the likely follow-up.
- The
<h3>introduces a procedure, and the<ol>marks clear, ordered steps.
The id on the <section> gives the passage a stable anchor, which helps when someone links to it.
Edge cases and judgment calls
Not every question has a one-sentence answer. These cases need care.
When the honest answer is "it depends"
Do not hide behind "it depends" as the opening. State the default and then the condition that changes it.
- Weak: "The right TTL depends on many factors."
- Better: "Start with a TTL of 5 to 15 minutes. Use a shorter TTL if users would be harmed by stale data, and a longer one if the data rarely changes."
The better version is still honest about variation, but the reader gets something to act on.
When the answer is a comparison
Lead with the verdict or the rule for choosing. Then present details, ideally in a table.
- "Use a canonical link when you want to keep duplicate URLs reachable. Use a redirect when you want to remove the duplicate."
When the answer is a long procedure
Give a one-sentence outcome, then the numbered steps. Do not put all the steps in the opening.
When the answer is uncertain or contested
Say so in the opening, briefly, and say what is known. "No vendor documents how it selects sources, so these steps raise the chance of being cited and do not guarantee it." A plain statement of uncertainty is more quotable, and more accurate, than a confident claim you cannot support.
When the answer changes over time
Put the current answer first and include a date or version in the passage, for example "As of version 4.2, the default is 30 seconds." This makes the claim checkable and easier to update later. A later chapter covers maintenance.
Common mistakes
- Warm-up openings. Sentences such as "In today's fast-moving world..." or "There are many ways to think about caching" contain no answer. Delete them.
- Restating the heading. "Caching API responses is an important topic" repeats the heading and says nothing. Replace it with the answer.
- Answers that depend on earlier text. An opening like "As mentioned above, this is the best option" cannot stand alone. Name the thing: "A 10-minute TTL is a reasonable default."
- Burying the answer in the third paragraph. If the answer exists but sits after context, move it up.
- Over-compression. A fragment such as "5 to 15 minutes." is not quotable. Write a full sentence with a subject.
- Keyword stuffing the opening. Repeating the phrase does not help a reader, and it makes the sentence worse to quote.
- Treating the opening as a promise of a future answer. "We will explain how to cache below" delays the answer. Give it now.
How answer-first fits with the rest of the page
Answer-first depends on the passage model: because a system retrieves chunks, each chunk must carry its answer near the start. It then feeds three later topics. Question-led headings supply the question that your opening answers. Self-contained passages ensure the opening still works outside the page. Testing shows whether the revised openings are being used.
A worked rewrite
Here is a help-center paragraph before editing, followed by a revision.
Before:
## Password resets
Our platform has gone through many changes to authentication over the years. Security is very important to us and to our customers. When a user cannot sign in, there are a few things that can be tried, and one of them is a reset link, which is sent by email and which expires after some time.After:
## How do I reset my password?
Select "Forgot password" on the sign-in page and follow the link we email to you. The link expires after 60 minutes, so request a new one if it stops working. If no email arrives, check your spam folder and confirm you used the address on your account.What changed:
- The heading matches the phrasing of a real question.
- The first sentence gives the action.
- The second sentence gives a number the original left vague ("after some time").
- The third sentence handles the most likely failure.
- The marketing filler ("Security is very important to us") was removed, because it answers no question.
Checking your work
Before publishing a section, run this checklist:
- Does the heading ask or name one clear question?
- Does the first sentence answer it without needing prior text?
- Does the second sentence add a number, condition or exception?
- Do the first two sentences make sense when copied alone?
- Is background placed after the answer?
- Is any uncertainty stated plainly rather than hidden?
Exercise
Rewrite this opening so it is answer-first. The heading is "Rate limits". The text reads: "APIs have used rate limiting for many years, and there are several approaches. Our service applies limits per key, and the exact number depends on your plan, though most customers on the standard plan will find that 100 requests per minute is the cap." Give a question-led heading and an opening of two sentences.
Show answer
Heading: "What is the API rate limit?" Opening: "The standard plan allows 100 requests per minute for each API key. Other plans have different limits, which are listed in the plan table below." The rewrite names the question in the heading, states the number in the first sentence, drops the history, and keeps the plan dependency as a short second sentence.
Exercise
A colleague's section opens with "As discussed earlier, this approach is usually best." Name two problems for answer-first quoting and fix the sentence, assuming the approach is "setting a canonical link on every duplicate page".
Show answer
The sentence depends on earlier text ("as discussed earlier", "this approach"), so it cannot stand alone when lifted out, and it makes a vague claim ("usually best") with no condition. A fix: "Set a canonical link on every duplicate page so search engines know which URL to index."