Body Element in HTML

What is Body Element in HTML?

The body element contains the HTML elements that are visible to the end human user. There can be only one body element in a given HTML document.

<!DOCTYPE html>
<html>
  <head>
    ...
  </head>
  <body>
    <div>
      <h1>
        Horses
      </h1>
      <p>
        Geralt's horse is Roach and Ciri's horse is Kelpie.
      </p>
    </div>
  </body>
<html>

It is acceptable for a body element to include script elements.

We use cookies and similar technologies to enhance the quality of services, maintain statistics and adjust marketing content. You will find more information in the Cookies Policy.

By clicking OK you grant consent to processing of your personal data by us and our Trusted Partners with the purpose of maintain statistics and adjustment of the marketing content pursuant to the Privacy Policy. If you wish to not grant that consent and/or limit its extent click Settings.