The Body Element

info Purpose

Contains the visible content of a webpage
Placed between <body> and </body> tags
All content displayed to users goes here

visibility Where Content is Displayed

Browser renders everything inside body element
Text, images, links, tables, forms, etc.
Only one body element per HTML document

code Basic Structure

Follows the head section
Closed before the closing html tag
Can contain global attributes
<!DOCTYPE html>
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h1>Welcome!</h1>
    <p>This is my first webpage.</p>
  </body>
</html>
preview Browser Output

Welcome!

This is my first webpage.