View source against the live page
Read the source text, inspect the current page tree, then check what the user can see. Match each claim to the right evidence.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: the recipe in the book and the dish on the table. The printed recipe is a starting point. A chef can add a topping later. Reading the recipe and looking at the dish answer different questions.
Lily uses Daily List, a to-do list app. Her Today list looks empty. Tom, the tester, must find out where the tasks disappeared.
opens the page's source text. Inspect opens the browser's current tree of page parts. This tree is called the Document Object Model (DOM). A script can change it without changing the source text that Tom first read.
Tom starts with a question. Was a task part of the page's starting text? Is it in the tree now? Can Lily actually see it? Those are three checks, not one.
A task can sit in the tree while the page hides it. Tom checks the screen as well as Inspect. He records when he looked, because the tree may change again.
The recipe picture has a limit. A dish is something a diner sees. The page tree also holds hidden parts, so it is not a picture of the screen.
SYNTHETIC / TRAINING ONLY: Daily List, its people and all examples here are invented. The picture compares starting text with changing structure, not exact network bytes.
PLAIN WORDS · 1 in this section
- bytes
- units of data size, each usually eight bits
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Choose evidence for starting text, the current page tree and what a user can actually see.
- Name the claim
- Capture the source
- Inspect the tree
- Check the screen
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The printed recipe | Source text for the page |
| The dish after a known change | The changed page tree, not a screenshot |
| The chef adding a topping | A known script adding a task node |
WHERE THIS PICTURE STOPS
- The dish is visible. A page tree can include hidden parts, so the tree is not a screenshot.
- The starting text is a record of one source; a later load can get different text.
- Parsing can create nodes without a script. A difference alone does not identify the cause.
HOOK
Source, tree, screen.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Source is starting text; Inspect is the current tree. Check the screen for what is visible.
| In the trick | What it stands for |
|---|---|
| Source | the page source text |
| Inspect | the current tree, including hidden nodes |
| Screen | what the user can see |
A later load can receive new source text, so compare evidence from the same recorded load.
TELL A FRIEND
The recipe is the starting text. The dish can change, but the page tree also holds hidden parts.
OFTEN MIXED UP WITH Browser developer tools. The lesson shows the console and Inspect. This lesson adds and compares it with the live page.
Sources & standards — 5 sources
- Implementation-specific
View Source ↗ — Mozilla Firefox · View Page Source command and its source tab. This lesson does not equate View Selection Source with captured response text. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Get started with viewing and changing the DOM ↗ — Google Chrome · View DOM nodes; edit text; appendix: HTML versus the DOM. The Elements tree is current content, not the original response. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Document Object Model ↗ — MDN Web Docs · Document tree and programmatic changes to structure and content. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
The hidden global attribute ↗ — MDN Web Docs · Hidden state prevents presentation; styling can override it. DOM presence alone does not prove visibility. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal · Daily List fixtures, expected counts, incident evidence and comparison steps are authored training examples, not a report of a live product incident.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
PRACTISE AND KEEP
Sources for this topic — 17 sources
- Implementation-specific
Get started with viewing and changing the DOM ↗ — Google Chrome · View DOM nodes; edit text; appendix: HTML versus the DOM. The Elements tree is current content, not the original response. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
View Source ↗ — Mozilla Firefox · View Page Source command and its source tab. This lesson does not equate View Selection Source with captured response text. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Document Object Model ↗ — MDN Web Docs · Document tree and programmatic changes to structure and content. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Network features reference ↗ — Google Chrome · Record network requests; preserve log; view response body; request status and headers. Record the relevant request before comparing its response. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Official requirement
HTML Living Standard: optional tags ↗ — WHATWG · Section 13.1.2.4: optional tbody start and end tags under stated conditions. An absent tag is not by itself a syntax error. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Official requirement
HTML Living Standard: parsing HTML documents ↗ — WHATWG · Sections 13.2.2 and 13.2.6.4.9: required error handling and insertion of tbody when a tr token is handled in table mode. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
The table body element ↗ — MDN Web Docs · Usage notes and implicit table body example; direct table > tr selectors do not match rows inside the inserted tbody. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
The hidden global attribute ↗ — MDN Web Docs · Hidden state prevents presentation; styling can override it. DOM presence alone does not prove visibility. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Accessibility features reference ↗ — Google Chrome · Accessibility tree and computed properties; keyboard and screen-reader use require separate checks. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Pause your code with breakpoints ↗ — Google Chrome · DOM change breakpoints pause code that changes a node or its children, supporting cause investigation rather than inference from two snapshots. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Assertions ↗ — Playwright · Auto-retrying assertions await named conditions until success or a timeout. Presence/count and visibility are separate assertions. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Page: content ↗ — Playwright · page.content returns full HTML contents of the page, including doctype. Do not treat this as an original network response. Newer optional flags are outside this lesson. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Response: text ↗ — Playwright · response.text returns the response body as text. Identify the response for the intended navigation/request. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Understand the JavaScript SEO basics ↗ — Google Search Central · Google Search crawls and renders pages, subject to documented limits. Not all bots can run JavaScript; do not generalize one preview fixture to all tools. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Implementation-specific
Document: title property ↗ — MDN Web Docs · Setting document.title changes the document title and the title element content. Relevant primary sections opened 8 November 2026.
Bounded primary-source review of the named sections on 8 November 2026. The living HTML Standard showed last updated 6 November 2026. No claim of review of every linked page. Synthetic examples are separately labeled; no publisher image is reproduced.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal · Daily List fixtures, expected counts, incident evidence and comparison steps are authored training examples, not a report of a live product incident.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Official requirement
RFC 9110: HTTP Semantics, 503 Service Unavailable ↗ — Internet Engineering Task Force (IETF) · RFC 9110, section 15.6.4: 503 Service Unavailable. Opened 8 November 2026. A response code does not identify the operational cause of this synthetic incident.
Relevant primary passage opened 8 November 2026. Retry-After may indicate delay before a new attempt; merely sleeping does not alter the failed response.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.