HTML tag <center>
Není podporováno v HTML5.
Značka <center>
byla použita v HTML4 k zarovnání textu na střed.
Co místo toho použít?
Příklad
Text zarovnat na střed (s CSS):
<html>
<head>
<style>
h1 {text-align: center;}
p {text-align:
center;}
div {text-align: center;}
</style>
</head>
<body>
<h1>This is a
heading</h1>
<p>This is a paragraph.</p>
<div>This
is a div.</div>
</body>
</html>