HTML Head & Body


 


There is some confusion of the <head></head> and <body></body> containers.  Here is a quick explanation.  Again ... simplified and in English.

You have a head and a body. Basically, all of the higher level thinking occurs in the head. Your body does the rest. Okay?

An HTML document is the the same way. There are two basic parts to the document. There is the head ... which is not the same thing as a header.  The head contain the title tags. The information between <title></title> will appear in the upper left hand corner of the browser. Other items which go into the head are 'higher level' thinking or programming languages. This is where a lot of JavaScript goes.

The second part of the document is the body. There can only be one body.  Everything that is viewed on the browser window is the body. This includes all of your header <h1> tags, etc.




Copyright © 2000 - Indiana University Purdue University - Indianapolis