Second Level Structure of HTML Documents

Q

What is the Second Level Structure of an HTML Document?

✍: FYIcenter.com

A

The second level structure of an HTML document consists of two parts:

  • Head element - Contains information about the current document, such as its title, keywords that may be useful to search engines, and other data that is not considered document content. The head element is defined with the "head" tag.
  • Body element - Contains the real content of the current document, including text, images, and other types data. The head element is defined with the "head" tag.

The following tutorial sample shows you how the HTML second level structure looks like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
 <head>
 (Head structure)
 </head>
 <body>
 (Body structure)
 </body>
</html>

 

HTML 'head' Tag/Element

HTML 'html' Tag/Element

HTML Document Structure and Head Level Tags

⇑⇑ HTML Tutorials

2024-01-19, 1069🔥, 0💬