Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
IMCreator - Free Website Builder

HTML center Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

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

The HTML 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 text-align property.

Example <center>This text is centered</center>.
Try it yourself!


Also see the HTML 5 version of HTML tags

Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!