The document's true body


The main element is the container that holds the true body of the document.

In classic book publishing, this would be referred to as the "body", but for historical reasons the body element is used for a different purpose in HTML.


body {
header ...
nav ...
main {
h1 How to Succeed in Zyme
h2 * without really trying

Nobody ever seems to have enough time.
And yet time is the one thing that is fairly distributed.
Nobody gets more of it, or less of it.
You can't own it or buy it or sell it.
footer ...
The main element


The body element comprises all of the elements that control the layout and structure of a document, plus all of their subordinates.


semantax > layout > mainThe document's true body

🔗 🔎