Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
The doctype selects standards mode. html is the root; head contains document metadata, and body contains page content.
The HTML doctype tells the browser to use standards mode rather than legacy quirks mode. The html element contains the document and can specify its language with lang. The head holds information such as title, charset, stylesheet links, and other metadata. The body holds the content presented to the user. A title belongs in head; a visible main heading belongs in body.