Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Revealing the layers with View page source and Inspect worksheet is part of the ACARA Digital Technologies Years 9–10 — Content, Structure and Presentation journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1view-source:https://example.com | AEdits made in Inspect only change your own local copy in your browser. The real site stays the same, and your changes vanish when you refresh. | |
| 2Right-click > Inspect | BShows the raw HTML source code of the whole page, instead of the rendered page | |
| 3Edit a local copy of a page in the browser by changing its text in the Elements panel, without changing the real website | CView page source shows the whole page's HTML. Inspect is the tool that shows the HTML and CSS of one chosen element. | |
| 4Turn off CSS to see structure alone: untick a rule in the Styles panel, and the HTML content stays | D/* h1 { color: red; } */ | |
| 5Inspect changes the real website for everyone | EOpens the developer tools on the element you clicked, showing its HTML and CSS | |
| 6View page source shows the CSS of one clicked element only | F<h1>My own heading</h1> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Inspect — Browser tool opened by right-clicking an element. It shows that element's HTML and CSS so you can explore a real site's layers. View page source shows the whole HTML.view-source:https://example.com.au<!-- Inspect shows the HTML below -->
<h1 class="title">Surf Club</h1>.title {
color: blue;
}https://web.archive.org/web/2010/example.com<!-- Delete this line to turn off CSS -->
<link rel="stylesheet" href="style.css">