Skip to content
Learn Netverks

Lesson

Step 3/31 10% through track

full-page-skeleton

A complete page skeleton

Last reviewed Jun 1, 2026 Content v20260601
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~2 min
Level
beginner

This lesson

This lesson teaches A complete page skeleton—the ideas, syntax, and habits you need before moving on in HTML & CSS.

Without a solid grasp of A complete page skeleton, you will repeat mistakes in HTML & CSS exercises and on real pages or scripts.

You will apply A complete page skeleton in contexts like: Landing pages, dashboards, marketing sites, and portfolio pieces built without a framework.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

Early in the track—complete this before layout, scripting, or architecture lessons that assume these basics.

Every public page should start from a predictable skeleton: doctype, language, charset, viewport, title, then body content. This lesson wires in CSS so the page is readable immediately.

Non-negotiable head items

  • <!DOCTYPE html> — standards mode.
  • <html lang="en"> — adjust for your locale.
  • <meta charset="utf-8"> — early in head.
  • <meta name="viewport" content="width=device-width, initial-scale=1"> — mobile scaling.
  • <title> — unique per page (tabs, bookmarks, SEO).

Where CSS lives on day one

For lessons and small demos, an embedded <style> in head is fine. Real sites usually use <link rel="stylesheet" href="..."> so browsers cache CSS separately.

Body content pattern

<body>
  <header>…</header>
  <main>…</main>
  <footer>…</footer>
</body>

Practice steps

  1. Run the starter page and shrink the browser window—text should reflow.
  2. Change --page-max in :root and see content width change.
  3. Add a second paragraph inside main and adjust line-height in CSS.

Important interview questions and answers

  1. Q: Why is viewport meta important?
    A: Without it, mobile browsers may scale pages as if they were desktop width, breaking responsive layouts.
  2. Q: What belongs in `head` vs `body`?
    A: Metadata and resource hints in `head`; user-visible content in `body`.
  3. Q: Why set charset early?
    A: So the parser interprets bytes as UTF-8 before reading visible text.

Self-check

  1. Remove lang from <html>—what accessibility hint did you lose?
  2. Add <link rel="stylesheet" href="/missing.css">—what still renders if HTML is solid?

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • What part of this lesson needs a second read?
  • What would you try differently in a real project?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump