HTML 4 center Tag
Obsolete in HTML5
This tag is obsolete in HTML5, so it's best to avoid using it.
center tag is used to center-align HTML elements.
center tag is deprecated in HTML 4.01 and obsolete in HTML 5. You should use Cascading Style Sheets (CSS) to center elements. In particular, see the CSS
Try it Yourself!
The information on this page is based on HTML version 4.01. Most modern browsers now support HTML5, which is the next version of HTML after HTML 4.01.
Also see this list of HTML 5 tags for the latest version of HTML.