html center tag


  Translation results:

UK['sentə] US[ˈsɛntɚ]

n. Center; hub; (of the team) center; central area

adj. Central, located in the middle; (in ) Center

vt. Concentrate; make people gather at one point; center; center

vi. Center, have a center, be placed in the center

Third person singular: centers Plural: centers Present participle: centering Past tense: centered Past participle: centered

html center tagsyntax

What is the label for center?

Function: Center the included text horizontally. Currently, all major browsers support the center tag.

Instructions: Please use CSS styles to center the text!

Note: In HTML 4.01, the center element is deprecated. In XHTML 1.0 Strict DTD, the center element is not supported.

html center tagexample

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <center>这是需要居中的内容</center>
</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A