HTML Document Structure — a practical guide to HTML document structure with clear examples you can reuse in real projects.
HTML Tutorial Series (4/79). Prefer one article? Read the complete HTML tutorial.
Short description
Every page needs a doctype, language, head metadata, and body content.
Minimal page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page title</title>
</head>
<body>
<h1>Hello</h1>
</body>
</html>