liveBook · Manning

Body element

Also called <body> tag

The HTML body element contains the content of a document intended for display in a browser.

How 2 Manning books explain it

Web Design Playground, Second Edition

A body element is the HTML document component that contains the page content rendered in the web browser.

How it is used
Places page text and HTML tags where the browser displays the site’s visible content.
How deep it goes
Defines opening and closing tags, distinguishes body from head, and demonstrates visible text while deferring whitespace and paragraph behavior.
Examples
Uses a minimal HTML page containing “Hello HTML World!” to connect body content with its visible browser result.
What you can do after
Build it from scratch by placing visible text and HTML elements inside the body element.

Read how Web Design Playground, Second Edition explains body element →

Build a Website with ChatGPT

The body element is the HTML element containing a document's displayed content.

How it is used
Uses the body element as a page-wide styling target for background and text color.
How deep it goes
Covers practical CSS customization and stops short of explaining the element’s HTML structure in detail.
Examples
Demonstrates background-color changes on event sign-up and recipe pages.
What you can do after
Apply it via CSS by changing page colors, width, spacing, and measurement units.

Read how Build a Website with ChatGPT explains body element →

Also covered in

What to know first

Related concepts

Questions about body element

What is body element?

The HTML body element contains the content of a document intended for display in a browser.

Which Manning books explain body element?

Web Design Playground, Second Edition and Build a Website with ChatGPT.

What should I know before learning body element?

Manning books that teach body element usually introduce HTML, CSS and HTML tag first.

What is body element part of?

Body element is part of HTML element. An HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.

What are the parts of body element?

Body element includes paragraph element.

What is body element also called?

Body element is also called <body> tag.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.