HTML 'body' Tag/Element - Document Body

Q

What Is the HTML "body" Tag/Element?

✍: FYIcenter.com

A

The "body" element is used to provide content of the HTML document. Here are some rules about the "body" tag/element:

  • The body element is a second level element. The body element must be the second child element of the html element.
  • You can only place a single body element in an HTML document.
  • The body element must be coded with the body opening tag, <body>, and the body closing tag, </body>.
  • The body element can not be empty. The body must have one or more block-type elements
  • The body element can not have any text information directly included between the opening and closing tags.

 

Incorrect HTML 'body' Elements

HTML Body Tag and Block Level Tags

HTML Body Tag and Block Level Tags

⇑⇑ HTML Tutorials

2024-01-10, 1326🔥, 0💬