Second Level Structure of HTML Documents


What is the Second Level Structure of an HTML Document?



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"
 (Head structure)
 (Body structure)


HTML Document Structure and Head Level Tags

⇒⇒HTML Tutorials

2017-02-21, 159👍, 0💬