<CENTER></CENTER>

Center text between margins


[HOME] [PAGE UP] [PREV PAGE] [NEXT PAGE]


This tag has a bad reputation among the purists. It's been used by a lot of folks and I even resort to it when I get a little lazy. As the HTML specification has progressed from the early days the concept of "containers" has grown in popularity. Each container usually contains an "align" attribute that lets you tell it where to put the contents. So, instead of using this tag to center a lot of stuff on your page, you should use align=center on each of the paragraphs within the section.

It still comes in handy sometimes, when I just want to make everything centered without having to do it to every piece.

   <html>
        <head>
        <title>A page that is centered</title>
        </head>
        <body>
           .
           .
==>>      <center>Centered line</center>
          .
           .
        </body>
        </html>

HTML 3.2 Final

    Nothing more to add.

Netscape

    Nothing special.

Microsoft Internet Explorer

    Nothing special.

Internationalization

    Nothing special.


[HOME] [PAGE UP] [PREV PAGE] [NEXT PAGE]


The Rusk Family . . . "the Legend Continues"

Michael T. Rusk
Comments to author: mrusk@radix.net

All contents copyright © 1996, 1997 Michael T. Rusk
All rights reserved.

Revised: December 03, 1997 10:30 -0500
URL: ./htmlgd/tagcente.html