Complete the HTML Document
Question
Fill in the blank with the tag that wraps all visible page content.
Code
<html>
<head>
<title>My Page</title>
</head>
<___>
<p>Hello world!</p>
</___>
</html>
Hint
There are two main sections inside <html>: <head> for metadata and ___ for visible content.
Explanation
The <body> tag wraps all the visible content of an HTML page — text, images, links, and so on. The <head> section holds metadata like the title, which is not displayed on the page itself. The completed tags are <body> and </body>.
Related Resources
Related Lessons
- HTML
Learn HTML structure and tags.
Related Cheatsheets
- HTML Cheatsheet
Quick reference for HTML document structure.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.