Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 01

Documents and semantics

What an HTML document is before any CSS touches it: the doctype and rendering modes, the content model the parser enforces, semantic elements and landmarks, and the metadata in <head>.
  1. 010What does <!DOCTYPE html> do, and what are quirks and standards modes?medium
  2. 020What is HTML's content model, and what happens when you put a <div> inside a <p>?medium
  3. 030Why use semantic HTML, and when is a div the right element?Coreeasy
  4. 040How do landmarks and headings structure a page now that the outline algorithm is gone?medium
  5. 050What belongs in <head>, and what do charset, viewport, and <base> change?medium
  6. 060What do link types like canonical, noopener, and nofollow do?easy
  7. 070How do data-*, hidden, and other global and boolean attributes behave?easy