YourNameHere Domain Name Registrations
Register Domain Name
Register Domain Name
 
Technical Support
Our Products
Our Products Domain Registration
Our Products 5mb Hosting
Our Products 10mb Hosting
Our Products 20mb Hosting
Our Products Micro Business Hosting
Our Products Starter Business Hosting
Our Products Standard Business Hosting
Our Products Pro Business Hosting
Our Features
Our Products Installed Scripts
Our Products F.A.Q.
Our Products Place Order
Our Products Renewals
Our Products Downloads
Our Products Client Links

HTML Tutorial

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 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...
  • BACKGROUND="location_of_image" - Background Image
  • BGCOLOR="#hexadecimal_here" - Background Colour
  • LINK="#hexadecimal_here" - Colour of Links
  • VLINK="#hexadecimal_here" - Colour of Links the User has Already Visited
  • TEXT="#hexadecimal_here" - Text Colour



Your own HTML page...

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

Background Image bgnd.gif

Add the following to your HTML page ("index.html"): (the blue text is what to add)

<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 the text file as "index.html".




Tutorial Contents | Go To Chapter 3 | Go To Chapter 5