HTML Page Structure

A simple way to remember HTML layout is to think of human body. Let's say human body is HTML, Human has head and body. In the same way HTML has body and head tags.

In Human body most of the systems (like respiratory, digestive etc) are in body, while face is the part of human head section. In the same way HTML has body tag for all systems of webpages. Thats why we insert our images, text and movies etc in body section. Head section has face of the page called title tag.

Creates an HTML document

Sets off the title and other information that isn't displayed on the Web page itself

Sets off the visible portion of the document

Comparison of Human Body with HTML Webpage

 Human Example  HTML Web page Example
 Human <html>
 Human Head  <head>
 Human Face (part of head)  <title>
 Human Body  <body>
 Different systems in human body……  <p> <img> <a> ……


Simple HTML Page Example


    <title>Untitled Document</title>