HTML <center> 태그
HTML5에서는 지원되지 않습니다.
<center>
태그는 HTML4에서 텍스트를 가운데 정렬하는 데 사용되었습니다 .
대신 무엇을 사용할 것인가?
예시
텍스트 중앙 정렬(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>