HTML Tutorial/Basic HTML Document Structure

The &lt;html&gt; Tag Although various versions have been released over the years, HTML basics remain the same. The structure of an HTML document has been compared with that of a sandwich. As a sandwich has two slices of bread, the HTML document has opening and closing HTML tags. These tags, like the bread in a sandwich, surround everything else: Everything in an HTML document is surrounded by the  1 tag. The &lt;head&gt; Tag Immediately following the opening HTML tag, you'll find the head of the document, which is identified by opening and closing head tags. The head of an HTML file contains all of the non-visual elements that help make the page work. The head section elements will be discussed later. The &lt;body&gt; Tag The body tag follows the head tag. All visual-structural elements are contained within the body tag. Headings, paragraphs, lists, quotes, images, and links are just a few of the elements that can be contained within the body tag. Basic HTML Structure: The  &lt;body&gt; 2 tag defines the main content of the HTML document. 1. &lt;html&gt;  Defines the root of an HTML document. 2. &lt;body&gt;  Defines the document's body.