You can align text left, right, or center. To do this, you use the attribute align. This attribute can be applied to HEADING tags, PARAGRAPH tags, or DIV tags. The DIV tag makes parts of a page look a certain way, but doesn't change spacing like the <P> tag. Use the <DIV align="center"></DIV> tag in place of the <CENTER></CENTER> tag.
Here are possible combinations for the <P> tag:
Here are possible combinations for a heading:
Here are possible combinations for the <DIV> tag:
Use the DIV tag as you would the CENTER tag (it is the more accepted method).
This paragraph is an example of align="right".
This paragraph is an example of align="center".
Okay, let's go back to the index.html file and center the <H1> tag (and adjust the alignment of any other text you like).
Now your opening <H1> tag should look like this: <H1 align="center">
Take a look at my file  if you want to make sure you're doing this correctly.