tidy-html5/test/html5/html4/center5.html

23 lines
314 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
center tag
</title>
<style>
p.ctr { text-align: center; }
</style>
</head>
<body>
<center>
<p>This text will be center-aligned.</p>
</center>
<p>Nomal left text</p>
<p class="ctr">Center aligned by CSS</p>
</body>
</html>