1. Home
  2. Computing & Technology
  3. Web Design / HTML

<center></center>

By , About.com Guide

<center> Description:

The <center></center> tag aligns elements in the center of the current area - this tag is deprecated in favor of style sheets

The <center></center> element is deprecated in favor of style sheets.

<center> Web Browser Support:
<center> Attributes:
None.
<center> End Tag:
</center> REQUIRED
<center> Contents:

CDATA. Text and html content. The following tags are valid within the <center></center> tag:
a, abbr, acronym, address, applet, b, basefont, bdo, big, blockquote, br, button, center, cite, code, dfn, dir, div, dl, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, img, input, isindex, kbd, label, map, menu, noframes, noscript, object, ol, p, pre, q, s, samp, script, select, small, span, strike, strong, sub, sup, table, textarea, tt, u, ul, var

<center> Valid Context:

The <center></center> tag is valid within the following tags:
blockquote, body, button, center, dd, div, fieldset, form, iframe, li, noframes, noscript, object, td, th

<center> Usage:
  • Standard centered text
    <center>This text is centered on the page.</center>
<center> Special Notes:
  • It is recommended that you avoid this element in favor of style sheets.
More <center> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.