details
英 ['di:te?lz]? ?美 ['di:te?lz]??
n.詳細(xì)資料;詳述( detail的名詞復(fù)數(shù) );(照片、繪畫等的)細(xì)部;細(xì)目;各種細(xì)節(jié)
html5<details>標(biāo)簽 語法
作用:<details> 標(biāo)簽用于描述文檔或文檔某個(gè)部分的細(xì)節(jié)。
參數(shù):
屬性 | 值 | 描述 |
open | open | 定義 details 是否可見。 |
注釋:與?<summary> 標(biāo)簽?配合使用可以為 details 定義標(biāo)題。標(biāo)題是可見的,用戶點(diǎn)擊標(biāo)題時(shí),會顯示出 details。
html5<details>標(biāo)簽 示例
<!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>
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例