Znacznik HTML <center>
Nieobsługiwane w HTML5.
Tag <center>
był używany w HTML4 do wyśrodkowania tekstu.
Czego używać zamiast tego?
Przykład
Wyrównaj do środka tekst (z 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>