Chapter 4


A Little More Tags...


The Center Tag

The center tag pretty much explains itself. The opening center tag is <center> and the closing center tag is </center>. Whatever you put between will be centered on the current line!

Example of a CENTER Tag..............

Center Works

<center><h1>Center Works</h1></center>


The BODY attributes.........

In Chapter 1 you learned the BODY tag. The BODY tag has many attributes... here are a the most useful ones...


Your own HTML page

WHAT TO TYPE

(The blue is the new!)

Right click in the center of the image below, and select "Save Image As" / "Save Picture As", or similar. Save it as "bgnd.gif" in the same file where your home page "index.html" is stored.

<html>

<head><title>My Home Page</title></head>

<body background="bgnd.gif">

<center><h1>YOURNAME's Home Page</h1></center>

<hr>

This is the home page of <b>YOURNAME</b>.

<p>Type something about yourself here. Describe briefly who you are and what you do for a living. Remember to use bold and italic text, for emphasis.</p>

</body>

</html>

Save it.


Go back Go to chapter five!!!