Interactive HTML Tutorial

Chapter 4: More HTML Tags

BASIC HTML
Chapter 1:
The HTML Basics
Chapter 2:
HTML Tags 1
Chapter 3:
HTML Tags 2
Chapter 4:
HTML Tags 3
Chapter 5:
Fonts and Text Colors
Chapter 6:
Links and Images
Chapter 7:
Lists Bullets etc.
Chapter 8:
Clean HTML Code
Chapter 9:
HTML Navigation
ADVANCED HTML
Chapter 10:
Tables
Chapter 11:
Using Frames
Chapter 12:
Using Meta Tags
Chapter 13:
Forms 1
Chapter 14:
Forms 2
Chapter 15:
Forms 3
Chapter 16:
Counters, Guestbooks
Chapter 17:
Graphics
Chapter 18:
HTML Style Basics
Chapter 19:
Resources

BACK TABLE OF CONTENTS FORWARD

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...


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 "Home.htm" is stored.

Background Image bgnd.gif

Add the following to your HTML page ("Home.htm"): (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 "Home.htm".

Please note that the NBA logo is the sole property of the National Basketball Association. All rights reserved.

Go To Chapter 5

BACK TABLE OF CONTENTS FORWARD