HTML Encyclopaedia

The center tag

The HTML block container element

<center> ... </center>
causes enclosed block elements such as tables, paragraphs and images to be centre aligned.

It is defined as having exactly the same effect as <div align=center>. Note that it is spelt c-e-n-t-e-r not c-e-n-t-r-e. It has no attributes.


Browsers

All browsers honour this tag in the same way.


See also <div> and <p>