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.

<html></html>
Creates an HTML document

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

<body></body>
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

<html>

  <head>
    <title>Untitled Document</title>
  </head>

  <body> 

  </body>

</html>