Find a course

Module 3: Structuring DocumentsLesson 6 of 1313 min

Content Types and Headings

Separate concept, task and reference content, meet the Diátaxis framework, and write headings and openings that help scanning readers.

Step 1 of 13Learn

Not all documentation does the same job

A common reason documentation feels confusing is that it mixes different kinds of content on one page. A reader trying to install something has to wade through the history of the feature. A reader looking up one parameter finds it buried in a tutorial paragraph.

Technical writers solve this by separating content into types, each with its own purpose and structure. A long-standing model, used in the DITA standard and many style guides, has three core types:

  • Concept: explains what something is and why it matters. "What is a webhook?" Mostly prose and diagrams, no numbered steps.
  • Task: explains how to do one specific thing. "Create a webhook." A short introduction, prerequisites, numbered steps and the result.
  • Reference: lists facts for lookup. "Webhook event types." Tables, lists of parameters, error codes, settings. Designed for scanning, not reading.

Each type answers a different reader question, so each should be easy to find on its own. A task page can link to the concept page for background and to the reference page for full details, rather than repeating them.

When you notice a page sliding from steps into long explanations and then into a table of 30 options, that is usually a sign it should become two or three linked pages.

Step 2 of 13Compare

Three core content types

AspectConceptTaskReference
AnswersWhat is it? Why does it matter?How do I do this?What exactly is the value?
Example titleWhat is a webhook?Create a webhookWebhook event types
FormatProse and diagramsIntro, prerequisites, numbered steps, resultTables and lists
Read byReading to understandFollowing alongScanning for one fact

Step 3 of 13Practice · Sort into groups

Sort these page titles by content type.

Tap an item, then tap its group (or drag it there).

Step 4 of 13Learn

The Diátaxis framework

A popular modern model, Diátaxis, created by Daniele Procida, splits documentation into four types based on two questions: is the reader studying or working, and do they need practical steps or theoretical knowledge?

Practical stepsTheoretical knowledge
Studying (learning)TutorialsExplanation
Working (doing)How-to guidesReference
  • Tutorials are lessons. They take a beginner by the hand through a complete, safe exercise, like building a first small app. Success means the learner finishes and gains confidence.
  • How-to guides are recipes for a competent user with a specific goal, like "Migrate from version 2 to 3." They assume knowledge and skip teaching.
  • Reference is accurate, complete, dry description: every function, flag and parameter.
  • Explanation gives background and reasoning: architecture, design decisions, trade-offs.

The biggest practical insight from Diátaxis is that tutorials and how-to guides are different. A tutorial optimizes for learning and can choose a simple, controlled path. A how-to guide optimizes for getting a real job done and must handle real-world variations. Mixing them produces tutorials that overwhelm beginners and how-to guides that patronize experts.

Step 5 of 13Practice · Diagram

The Diátaxis map

Two questions place every page. Tap a box.

A page listing every command-line flag and its default. Tap its box.

Tap the shape that answers the question, then press Check.

The Diátaxis mapTwo-by-two matrix: Tutorial, How-to guide, Explanation, Reference.TutorialHow-to guideExplanationReferenceThe reader isStudyingWorkingThe content is aboutUnderstandingDoing
Tutorial

Learning by doing: a guided lesson with a guaranteed result.

How-to guide

Steps for a real task the reader already has.

Explanation

Background, reasons and design decisions.

Reference

Accurate, complete facts for lookup.

Step 6 of 13Practice · Match the pairs

Match each Diátaxis type to the reader need it serves.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. Tutorial
  2. How-to guide
  3. Reference
  4. Explanation

Step 7 of 13Learn

Headings that work

Headings are the main navigation tool on a page. Scanning readers jump from heading to heading, so each one should tell them exactly what is underneath.

Guidelines for useful headings:

  • Describe the content specifically. "Configure email alerts" beats "Configuration". "Why backups fail" beats "Additional information".
  • Use the reader's words, the ones they would type into a search box.
  • Start task headings with a verb, often in the imperative or -ing form, depending on your style guide: "Install the CLI" or "Installing the CLI". Pick one style.
  • Keep headings parallel within a section: all tasks, all questions or all nouns, not a mix.
  • Use heading levels to show hierarchy, without skipping levels (H2 then H3, not H2 then H4). Screen reader users navigate by heading level.
  • Avoid "cute" headings. "Let's get this party started" tells the reader nothing.

A good test: read only the headings of your page. Do they form a sensible outline that a reader could use as a table of contents? If not, the structure needs work before the sentences do.

Step 8 of 13Compare

Weak vs strong headings

AspectWeakStrong
VagueOverviewHow offline mode saves your changes
Feature-speakData portability featuresExport data to CSV
CuteOops!Fix sync errors
Task formPassword resettingReset your password

Step 9 of 13Practice · Spot the mistake

These are the H2 headings of a page about a mobile app's offline mode. Tap the three weak headings.

Step 10 of 13Note

Step 11 of 13Learn

The first lines of a page

The opening of a documentation page has one job: tell the reader in a sentence or two whether this page is the one they need.

Weak opening:

"Welcome to our documentation on exporting. Exporting is an important feature that many users find helpful. In this article, we will take a look at the various options that are available."

Strong opening:

"Export a report as a CSV, Excel or PDF file. You need the Editor role or higher to export."

The strong version states what the page helps you do, which formats are covered and the main prerequisite, in 18 words. A reader who needs a PowerPoint export or doesn't have the Editor role knows right away to look elsewhere or ask for access.

For concept pages, open with a one-sentence definition. For reference pages, open with what the reference covers and how it is organized. For tutorials, state what the learner will build and roughly how long it takes.

Avoid opening with history, marketing claims, or "In this article, we will..." filler. Readers who arrived from search decide in seconds whether to stay.

Step 12 of 13Practice · Choose one

Which is the best opening for a task page about restoring a deleted file?

Step 13 of 13Practice · True or false

It is fine to skip from an H2 heading straight to an H4 heading if the H4 looks better visually.