Command Palette

Search for a command to run...

Hectal
Phase 0: Start Here: How the Web Works
HTML · Exercise 2 of 3 PreviousNext
Beginner

Write the full page skeleton

Turn this fragment into a complete HTML page: add the doctype, an html element with the English language set, a head with the UTF-8 charset, the viewport meta tag and the title My first page, and put the heading inside the body.

What Check tests

  1. The first line is <!DOCTYPE html>
  2. The page language is English (lang="en")
  3. The character set is UTF-8
  4. There is a viewport meta tag
  5. The tab title is My first page
  6. The heading is still on the page

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.