<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
 |
<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>
|
|
 |
Everything, including text, inline images,

or tables
can be centered.
|