英 ['sent?]? ?美 [?s?nt?]??

n.中心;中樞;(球隊(duì)的) 中鋒;中心區(qū)

adj.中央的,位于正中的;(在)中心的

vt.集中;使聚集在一點(diǎn);定中心;居中

vi.居中,有中心,被置于中心

第三人稱單數(shù): centers 復(fù)數(shù): centers 現(xiàn)在分詞: centering 過去式: centered 過去分詞: centered

html center標(biāo)簽 語法

center是什么標(biāo)簽?

作用:對(duì)其所包括的文本進(jìn)行水平居中,目前所有主流瀏覽器都支持 center標(biāo)簽。

說明:請(qǐng)使用 CSS 樣式來居中文本!

注釋:在 HTML 4.01 中,center 元素不被贊成使用。在 XHTML 1.0 Strict DTD 中,center 元素不被支持。

html center標(biāo)簽 示例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <center>這是需要居中的內(nèi)容</center>
</body>
</html>

運(yùn)行實(shí)例 ?

點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例