KISS HTML
You CAN write HTML code from scratch

The "HEAD" tag and the "BODY" tag


So far, we have the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
<HTML>

<TITLE> </TITLE>

</HTML>

Web pages have two separate parts: the HEAD and the BODY.
Within the opening and closing HTML tags, the HEAD comes first at the top and the BODY tag follows.
The HEAD tag sets off this section of your web page to give instructions about your web page to the browser and must contain the open and close TITLE tags within it.
The TITLE tag contains the name of the web page that shows up at the very top of the browser when looking at it on the Web (it is NOT the same as the heading of your web page that displays when people look at your web page of the Internet.)
Enter one now between the opening and closing TITLE tags. Remember, the TITLE tag is always found inside the HEAD section of a web page.
Other than this requirement, the HEAD tag will not be discussed in this tutorial.

Finally, the opening and closing BODY tags come after the closing HEAD tag, so we can insert them now.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
<HTML>

<HEAD>
<TITLE>
Cyberperson's First Web Page </TITLE>
</HEAD>

<BODY>
</BODY>

</HTML>

The BODY tags tell your browser what to do with the content you typed in. Everything you type into the BODY section which is not enclosed in < >, will display when someone visits your Web page on the Internet.
So, let's add some substance to your web page. Type something you want visitors to your Web page to see between the open BODY tag and close BODY tag.

Note: Text to be displayed on the www in this example web page is in the color green.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
<HTML>

<HEAD>
<TITLE>Index.htm - My First Web Page</TITLE>
</HEAD>

<BODY>
This web page belongs to Cyberperson
</BODY>

</HTML>

To see how this web page code looks, click Here

You can put as much information in the BODY of this basic page as you want. Type the following after the sentence you already have there.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
<HTML>

<HEAD>
<TITLE>Index.htm - My First Web Page</TITLE>
</HEAD>

<BODY>
This web page belongs to Cyberperson.
I live in Los Angeles. I work for Calliope Studios. I have a dog named Remington. My hobbies are cooking and movies.
</BODY>

</HTML>

To see how this new information will look on the WWW, click Here

  <- Previous | Next ->