logo
g Text Version
Auto
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Society & Culture
Sports
Travel & Leisure
TV & Movies

dailyclick
Bored? Games!
Postcards
Astrology
Take a Quiz
Rate My Photo

new
Spirituality
Home Improvement
Vegetarian
NASCAR
Southcentral USA


dailyclick
All times in EST

Low Carb: 8:00 PM

Full Schedule
g
g HTML Site
Elizabeth Connick
BellaOnline's HTML Editor

g

The HTML Format Tags - Heading and Center Tags
Guest Author - Diane Cipollo

There are several HTML tags that control the look and format of your webpage. One example is the bold tag that you read about in an earlier article. Remember that you used the bold <b> tag to make text appear boldface or dark? But maybe you need even more control over the format of your webpages. That’s what we will talk about in this tutorial. As with all HTML tags, in the format tags the element name of each tag is surrounded by angle brackets.

Heading and Center Tags

<h1>The Heading Tags</h1>

At the top of most webpages you will put a heading or title of some kind. To make a heading you will use the heading tag. Most titles or headings are larger and bolder than the rest of the text on the page. You will use the heading tags to designate what text is to be the title or heading and also control the size and importance. The lowest heading (the least important and smallest) is h6. The h1 heading is the most important and largest. As with most HTML tags, there is an opening <h1> and closing </h1> heading tag and the text between the tags is what becomes the heading. You can align the heading to the left, center or right of the webpage with the align attribute (<h1 align="left">).

<h1>Heading 1</h1>

Heading 1

<h2>Heading 2</h2>

Heading 2

<h3>Heading 3</h3>

Heading 3

<h4>Heading 4</h4>

Heading 4

<h5>Heading 5</h5>
Heading 5
<h6>Heading 6</h6>
Heading 6



<center>The Center Tag</center>

Let’s say that you would like to place something in the center of a webpage. You are probably one step ahead of me now and have already figured out that you would place the centered text or image between the opening <center> and closing </center> tags.
<center>Centered Text Or Image</center>

Next →





RSS | Previous Features | Site Map


Content copyright © 2008 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Elizabeth Connick for details.

Digg! g delicious Save to Del.icio.us

g


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor

g features
Setting Your Webpage Background

Multiple-Choice Input Fields for HTML Forms

The Right Way to Start a Paid Website Project

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Driving Amount
Much more
Slightly more
Slightly less
Much less

g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2008 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor