HTML5檔案元素的分類有哪些
HTML5文件元素的分類:1、元資料內容,用於設定其他內容的呈現或行為,或設定文件與其他文件的關係,以及傳達其他資訊的內容;2、串流內容,放在body中用於組織文件內容的元素;3、章節內容,用於定義標題和頁面內容區域的元素;4、標題內容,用於定義章節標題內容的元素;5、短語內容,以行內的形式展示的元素;6、嵌入內容,需要引入其他資源的元素;7、互動內容,和使用者嘗試互動的元素。
本教學操作環境:windows10系統、HTML5版本、Dell G3電腦。
HTML5檔案元素的分類有哪些
在 HTML5 中將元素進行了分類,用於詳細地規定子元素在父元素中的合理性。具體的類別如下:
元資料內容(Metadata content)
串流內容(Flow content)
章節內容(Sectioning content)
標題內容(Heading content)
-
短語內容(Phrasing content)
嵌入內容(Embedded content)
「互動式內容(Interactive content)
它們之間的關係如下:
元資料內容(Metadata content)
#元資料內容被定義為用於設定其他內容的呈現或行為,或設定文件與其他文檔的關係,以及傳達其他訊息的內容,它包括:
base link meta noscript script style template title
##串流內容(Flow content)
串流內容是指可以放在body 中的,可以用來組織文件內容的元素,它包括:a abbr address area (如果是 map 元素的后代)article aside audio b bdi bdo blockquote br button canvas cite code data datalist del details dfn dialog div dl em embed fieldset figure footer form h1 h2 h3 h4 h5 h6 header hgroup hr i iframe img input ins kbd label link (如果 在 body 中允许)main map mark MathML math menu meta (如果 itemprop 属性存在) meter nav noscript object ol output p picture pre progress q ruby s samp script section select slot small span strong sub supSVG svg table template textarea time u ul var video wbr 自主的 custom element 文本内容
章節內容(Section content)
章節內容是指用於定義標題和頁面內容區域的元素,它包括:article aside nav section
標題內容(Heading content)
標題內容是指用於定義章節標題內容的元素,它包括:h1 h2 h3 h4 h5 h6 hgroup
短語內容(Phrasing content)
短語內容是指文件中可以以行內的形式展示的元素,它包括:a abbr area (如果是 map 元素的后代)audio b bdi bdo br button canvas cite code data datalist del dfn em embed i iframe img input ins kbd label link(如果 在 body 中允许)map mark MathML math meta (如果 itemprop 属性存在)meter noscript object output picture progress q ruby s samp script select slot small span strong sub sup SVG svg template textarea time u var video wbr自主的 custom element 文本内容
嵌入內容(Embeded content)
#嵌入內容是指需要引入其他資源的元素,它包括:audio canvas embed iframe img MathML math object picture SVG svg video
#互動式內容(Intersection content)
互動式內容是指會和使用者嘗試互動行為的元素,它包括:a(如果 href 属性存在)audio(如果 controls 属性存在) button details embed iframe img(如果 usemap 属性存在)input(如果type属性存在)label object(如果 usemap 属性 存在)select textarea video(如果 controls 属性存在)
以上是HTML5檔案元素的分類有哪些的詳細內容。更多資訊請關注PHP中文網其他相關文章!

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)