Body Element

In the previous exercise, we learned that the head element contains data that is not visible on the web page itself. The body element is the opposite. It contains everything that is visible on the web page, such as headings, paragraphs, images, videos, links, and much more.

<!DOCTYPE html>, html, head, and body together form the structure that appears in every web page.

<!DOCTYPE html>
<html>
	<head>
	</head>
	<body>
	</body>
</html>

You may notice that the head element is written before the body element. This is a standard that must be followed.

Instructions

Create the body element as a sibling of the head element, below the head element.

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

8/9

Body Element | Start Coder