Description:

The <center> tag is used to center-align HTML elements.


This tag is deprecated in HTML 4.01 and not supported in HTML5, use CSS text-align property.

Example Code:
<center>This paragraph should be centered!</center>
Result:
This paragraph should be centered!
Attributes:

None



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.