Skip to main content
FREE Mock interview & resume review with Sumit. Free right now, no payment needed.Book a slot

DOCTYPE Declaration — HTML Fundamentals

Complete HTML Handbook

Beginner to Advanced — Tags, Forms, SEO, Accessibility & Interview Prep

138 tags150 interview Qs60 challenges
DOCTYPE Declaration

The DOCTYPE triggers standards mode. HTML5 uses the short form <!DOCTYPE html> with no public identifier.

<!DOCTYPE html>

Output: Browser uses HTML5 parsing rules.