HTML Document Structure



HTML documents are structured into two parts:

Both of these are contained within the <HTML> element -- this element simply denotes this as an HTML document. Elements allowed inside the <HEAD>, such as <TITLE>, are not allowed inside the <BODY>, and vice versa.

Example of Document Structure

<HTML>
<HEAD>
<TITLE> Environmental Change Project </TITLE>
</HEAD>
<BODY>
<H1> Environmental Change Project </H1>
Welcome to the home page of the Environmental 
Change Project. This project is different from other 
projects with similar names.  In our case we actually 
wish to change the climate.  For example, 
we would like hot beaches in Northern Quebec, and 
deserts near Chicago.
</BODY> 
</HTML>


The above image is what the previous example HTML code should produce in most browsers.