<部分>
HTML <section> 標籤
#實例
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <section> <h1>WWF</h1> <p>The World Wide Fund for Nature (WWF) is an international organization working on issues regarding the conservation, research and restoration of the environment, formerly named the World Wildlife Fund. WWF was founded in 1961.</p> </section> <section> <h1>WWF's Panda symbol</h1> <p>The Panda has become the symbol of WWF. The well-known panda logo of WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to the London Zoo in the same year of the establishment of WWF.</p> </section> </body> </html>
執行實例»
點擊"運行實例" 按鈕查看線上實例
瀏覽器支援
IE 9+、Firefox、Opera、 Chrome 和Safari <section> 標籤。
註解:IE 8 或更早版本的 IE 瀏覽器不支援 <section> 標籤。
標籤定義並使用說明
<section> 標籤定義了文件的某個區域。例如章節、頭部、底部或文件的其他區域。
HTML 4.01 與 HTML5之間的差異
<section> 標籤是 HTML5 中的新標籤。
全域屬性
<section> 標籤支援 HTML 的全域屬性。
事件屬性
<section> 標籤支援 HTML 的事件屬性。