Skip to main content

HTML Guide

The “center” element is obsolete. Use CSS instead.

The <center> tag is no longer valid in HTML, you should use CSS instead, for example:

<p style="text-align:center">this text will be centered</p>

Related W3C validator issues