<CENTER>
The center tag is used to create a centered alignment for a
series of HTML elements and text on the page. This element has
been deprecated and has been replaced with DIV align="center" .
In many cases, if your content is contained in table, you can use the
ALIGN attribute to achieve the same effect.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
|
Example
<CENTER>Some centered text<CENTER>
Renders As:
Some centered text
Compatibility
The tag is deprecated and will disappear in the future
It is replaced by the Object tag
HTML 4.01
|