details

英['di:te?lz]? ?美['di:te?lz]??

n.詳細(xì)資料;詳述( detail名詞的複數(shù)); (照片、繪畫等的)細(xì)部;細(xì)目;各種細(xì)節(jié)

html5<details>標(biāo)籤 語(yǔ)法

作用:<details> 標(biāo)籤用來(lái)描述文件或文件某部分的細(xì)節(jié)。

參數(shù)

##描述#openopen定義details 是否可見(jiàn)。
屬性

註解:與?<summary> 標(biāo)籤?配合使用可以為 details 定義標(biāo)題。標(biāo)題是可見(jiàn)的,當(dāng)使用者點(diǎn)擊標(biāo)題時(shí),會(huì)顯示出 details。

html5<details>標(biāo)籤 範(fàn)例

<!DOCTYPE HTML>
<html>
<body>
<details>
<summary>Copyright 2011.</summary>
<p>All pages and graphics on this web site are the property of W3School.</p>
</details>

</body>
</html>
執(zhí)行實(shí)例 ?

#點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例

#