VersionW3C//DTD HTML 3.2 Final//EN
ElementCENTER
Purposecenter text or other elements
DescriptionThis element encloses text or other elements that should be centered. This element started out as a non-standard Netscape extension. Its widespread use motivated its inclusion in the HTML 3.2 standard. You could use DIV or P instead.
Start tagRequired <CENTER>
AttributesNONE
Content( H1 | H2 | H3 | H4 | H5 | H6 | #PCDATA | TT | I | B | U | STRIKE | BIG | SMALL | SUB | SUP | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP | INPUT | SELECT | TEXTAREA | P | UL | OL | DIR | MENU | PRE | DL | DIV | CENTER | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | ADDRESS )*
End tagRequired </CENTER>
Referenced in BLOCKQUOTE BODY CENTER DD DIR DIV FORM LI MENU TD TH
Example
SourceAppearance
<CENTER>
Kevin and Cheryl <P> cordially invite you to <P> their wedding <P> on <P> August 24, 2014
</CENTER>
Kevin and Cheryl

cordially invite you to

their wedding

on

August 24, 2014

search Search · star Market
2023-06-19 · John December · Terms © johndecember.com