Deprecated. This tag is equivalent to <div align=”center”>
. It centers text horizontally; the use of the CSS property text-align:center
is preferred.
class, id, lang, style, title (ignored)
<h3><a name="center.htm">Centering</a></h3>
The <center> tag centers text horizontally.
<hr width="30%" />
<br />
<center>
Indignor quicquam reprehendi, non quia crasse compositum illepedeve putetur, sed quia nuper, nec veniam antiquis, sed honorem et praemia posci. </center>
<h3>Center</h3>
The following is the same text, but with line break tags at the end of each clause.<br />
<hr width="30%" />
<br />
<center>Indignor quicquam reprehendi,<br />
non quia crasse compositum illepedeve putetur,<br />
sed quia nuper,<br />
nec veniam antiquis,<br />
sed honorem et praemia posci.<br />
</center>
© 2000 Microsoft Corporation. All rights reserved. Terms of use.