center
center
This page has been flagged with the following issues:
High-level issues:
Deprecated
Summary
The center element (<center>) center-aligns text in an HTML page.
The <center> element is deprecated in HTML 4.01 and obsolete in HTML5. Use CSS instead.
Overview Table
| DOM Interface | HTMLElement |
|---|
Examples
This example uses the center element to center text on a page.
<CENTER>This text appears centered on the page.</CENTER>
Notes
Remarks
Standards information
- HTML 4.01 Specification, Section 15.1.3 (Deprecated)
HTML information
{
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here