Creating the HTML, Head, and Body Sections

All of the HTML code except the DOCTYPE tag is placed within the two sided <html> tag.

The tags <html> and </html> serve as a “wrapper” around all the other tags in the document of HTML.

In addition, the document should have two sections: a Head and a Body.

 

Description of the Head Section
The Head section is defined by the two-sided tag .
The Head section contains the page title, which is the text that will appear in the title bar of the Web browser and on the Microsoft Windows taskbar button.
Description of the Body Section
The Body section is defined by the two-sided tag .
It contains all the information that appears in the Web browser when you view the page.
Remember that the <html>, <head>, and <body> tags are all optional in HTML but still used because it is a good design practice.