XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / center
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
center
HTML 4.01 |
<center> ... </center>
Centers its content horizontally within the available page width or enclosing element. Its use is strongly discouraged. Use stylesheets to center elements instead.
Notes
Deprecated in HTML 4.01/XHTML. Not available in HTML 5.
Start/end tag
Required/required
Attributes
Example
<center>
<h1>Einleitung</h1>
<p>Es war einmal ein veraltetes HTML-Tag mit dem Namen "center"...</p>
</center>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de