Definitions and usages
The label centers horizontally on the text it surrounds. HTML5 does not support the use of the label, so for more information about the label, please refer to the "HTML slt;center sgt; tag" section!
Example:
<center>这个文本将被居中
<p>这是一个段落</p></center>
Example 2 (CSS override)
<div style="text-align:center">这个文本将被居中
<p>这是一个段落</p></div>
The difference between HTML 4.01 and HTML 5
The label is not supported in HTML 5. Use CSS instead.
Tips and comments
Tip: Use CSS to Chinese book.
Related references
CSS tutorial: CSS text-align property