HOME > Basic Page Contents
A page is divided into two sections: HEAD and BODY. The HEAD portion contains information about the page. The BODY contains the contents of the page. In Example 1 nothing is in the <HEAD> portion; the <BODY> section just contains the phrase "Welcome to my home page."
<HTML>
<HEAD>
</HEAD>
<BODY>
Welcome to my home page.
</BODY>
</HTML>
One tag your page should always include is a <TITLE></TITLE> tag. It will display the title at the very top of the browser. It goes in the <HEAD></HEAD> section. Example 2 shows the title tag added to the first example.
<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
</HEAD>
<BODY>
Welcome to my home page.
</BODY>
</HTML>
WEB DESIGN: Basics • Last Modified: 5/1/02