Document Structure
HTML <body> element
Represents the content of the document. The body contains the page's rendered content and may contain scripts and other conditionally permitted elements. Keep document metadata in head and use semantic regions for the visible page structure. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<body>…</body>Return Value
HTMLBodyElement
Content model: Flow content.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>Reading notes</title> </head> <body> <h1>Reading notes</h1> <p>Chapter one is finished.</p> </body></html>