Document
<html> HTML root
The root of every HTML document. Every other element sits inside it.
<!doctype html>
<html lang="en">
<head>…</head>
<body>…</body>
</html>Tip. Always set the lang attribute. Screen readers use it to pick a voice and pronunciation.
- Since
- HTML 2.0
- Implicit role
- document
- Void
- No
Attributes0
Global attributes only.