HTML & CSS-Quiz: Document Structure & DOCTYPE

This HTML quiz checks the skeleton every page shares. You will look at short snippets and decide what belongs in the head, what the DOCTYPE does and how the browser handles markup that is incomplete or badly nested.

Leicht 10 Fragen ~5 Minuten Bestanden ab 80%

Modus wählen

Du spielst als Gast: Melde dich an, damit XP und Serie gespeichert werden.

Beispielfrage

Frage 1 von 10

What does <!DOCTYPE html> at the top of a page do?

<!DOCTYPE html>
<html lang="en">
  ...
</html>
Lösung zeigen

B. Makes the browser render the page in standards mode instead of quirks mode The DOCTYPE only switches the browser into standards (no-quirks) mode. Without it, browsers emulate old, buggy layout rules; it does not load anything and has nothing to do with the server.

Darum geht es in diesem Quiz

  • What <!DOCTYPE html> does
  • What goes in <head> and what goes in <body>
  • Declaring the page language and character encoding
  • Void elements, comments and nesting
  • How the browser fills in missing tags

Häufige Fragen

Brauche ich ein Konto?

Nein. Jeder kann spielen. Mit Anmeldung werden XP, Serie, Abzeichen und Verlauf gespeichert.

Kann ich es wiederholen?

Ja. Dein Bestwert bleibt erhalten, und Fragen und Antworten werden jedes Mal neu gemischt.