Skip to content

QuizNot attempted

What the skeleton tags do

Which statements about the HTML skeleton are true?

Select all that apply.

1–4 to choose, Enter to submit
Show answer & explanation

Correct answers:

  • <!DOCTYPE html> puts the browser in standards mode (no quirks mode)
  • <html lang="en"> lets screen readers pick the right pronunciation and helps search engines
  • <meta name="viewport" content="width=device-width, initial-scale=1"> is required for responsive layouts on mobile
  • The doctype switches on standards mode, lang tells screen readers which pronunciation rules to use (and helps search and translation), and the viewport meta stops mobile browsers from rendering a ~980px desktop page zoomed out.
  • Not charset at the end: it must appear within the first 1024 bytes, before any text the browser has to decode, so it goes first in the head.