W3 3.2y
4.0d
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<CENTER>...</CENTER>

Description

Center everything inside the opening end closing element.

This element is equivalent to <DIV align="center">.

DTD

Note: This element is deprecated, and this DTD fragment is taken from the
      Transitional DTD.

<!ELEMENT CENTER - - (%flow;)*         -- shorthand for DIV align=center -->
<!ATTLIST CENTER
  %attrs;                              -- %coreattrs, %i18n, %events --
  >
from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."

Attributes

Core attributes: class id style title
Internationalization attributes: dir lang
Events: onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup

Examples

Source
<CENTER>
Everything, including text,<BR> inline images,<BR>
<IMG src="IMG1.jpg" alt="A nice bird" width="56" height="100"><BR>
or tables<BR>
<TABLE border width="25%">
<TR><TH>Table header</TH></TR>
<TR><TD>Value</TD></TR>
</TABLE>
can be centered.
</CENTER>
 
Result
Everything, including text,
inline images,
A nice bird
or tables
Table header
Value
can be centered.
Statistics