Keep the lesson open on your other screen. Your edits stay in this workspace, separate from the practice activity. Sign in to save and reload a private account draft across devices, or share a snapshot when you need help.
Pause whenever you want to try a change. You can return to the lesson at any time.
You are signed in, but video access needs attention. Check your account access. Your saved work is kept.
Video walkthroughs are included with an active Code Zone membership. The written lesson and practice are free.
Video settings & progress
Your lesson progress
Walkthrough: not started
Empty: not started. Yellow: in progress. Green: complete. Marking the whole activity complete does not replace your test results. These circles save in this browser for this pilot.
Start the video to enable typing controls.
YOUR TURN
Code along: Basic HTML Structure
Follow along with Rob. Add the HTML from the video inside this document and watch the preview update as you type. Pause and experiment whenever you like. This code-along has no pass/fail checks.
Load an example, edit it and run it. Word wrap is enabled.
Your check results
Lesson reference
Examples load into this same code-along only after you confirm replacing your code.
Read the skeleton from the outside
<!DOCTYPE html> asks for modern standards rendering. The html element is the root. Inside it, head holds metadata and body holds the visible page content. lang="en" identifies the language used in this example.
The title appears in a browser tab, not as the visible heading. The h1 supplies the heading on the page.
The head describes the document: title names the browser tab, meta describes settings such as character encoding, and link can load a stylesheet. Put the content people read—headings, paragraphs, lists and images—inside body. Neither head nor body is a visible heading.
Fix this bug: Why is the page blank? The starter puts heading and paragraph markup inside title. A title is text metadata, so that markup does not become visible page content. Keep a short text title in head, then move the h1 and p into body. The preview should show Welcome and its paragraph. A bare h1 directly inside head is different: browsers may repair it by moving it into body, so that is not a reliable blank-page bug.