text
英 [tekst]? ?美 [t?kst]??
n.文本,原文;課文,教科書;主題;版本
v.發(fā)短信
index
英 [??ndeks]? ?美 [??n?d?ks]??
n.索引;<數(shù)>指數(shù);指示;標(biāo)志
vt.給…編索引;把…編入索引;[經(jīng)濟學(xué)]按生活指數(shù)調(diào)整(工資、價格等)
vi.[機械學(xué)]轉(zhuǎn)位
css text-indent屬性 語法
作用:text-indent 屬性規(guī)定文本塊中首行文本的縮進。
說明:用于定義塊級元素中第一個內(nèi)容行的縮進。這最常用于建立一個“標(biāo)簽頁”效果。允許指定負(fù)值,這會產(chǎn)生一種“懸掛縮進”的效果。? ??
注釋:允許使用負(fù)值。如果使用負(fù)值,那么首行會被縮進到左邊。在 CSS 2.1 之前,text-indent 總是繼承計算值,而不是聲明值。
css text-indent屬性 示例
<html> <head> <style type="text/css"> p {text-indent: 1cm} </style> </head> <body> <p> php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) </p> </body> </html>
點擊 "運行實例" 按鈕查看在線實例