HTML Interview Questions

This HTML quiz collects classic interview questions: what the doctype does, defer vs async, strong vs b, data-* attributes, responsive images and more. Each answer comes with a short explanation you can repeat in an interview.

Mittel 10 Fragen ~6 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?

Lösung zeigen

B. It makes the browser render the page in standards mode instead of quirks mode The doctype has one job today: without it, browsers use quirks mode, which emulates old rendering bugs (for example in the box model and table sizing). The encoding is set with <meta charset>.

Darum geht es in diesem Quiz

  • The doctype, the viewport meta tag and standards mode
  • Loading scripts with defer and async
  • Semantic choices like strong vs b and links around block content
  • data-* attributes, id rules and lazy loading
  • Responsive images with srcset and the default button type

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.