Home >Web Front-end >Front-end Q&A >What are the classifications of HTML5 file elements?

What are the classifications of HTML5 file elements?

WBOY
WBOYOriginal
2022-06-14 18:06:272336browse

Classification of HTML5 file elements: 1. Metadata content, used to set the presentation or behavior of other content, or to set the relationship between the document and other documents, and to convey other information; 2. Streaming content, Elements placed in the body to organize document content; 3. Chapter content, elements used to define titles and page content areas; 4. Title content, elements used to define chapter title content; 5. Phrase content, inline Formal display elements; 6. Embedded content, elements that need to introduce other resources; 7. Interactive content, elements that users try to interact with.

What are the classifications of HTML5 file elements?

The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.

What are the classifications of HTML5 document elements?

Elements are classified in HTML5 to specify in detail the rationality of child elements in parent elements. The specific categories are as follows:

  • Metadata content

  • Flow content

  • Sectioning content

  • Heading content

  • ##Phrasing content

  • Embedded content

  • Interactive content

between them The relationship is as follows:

Metadata content

Metadata content is defined as used to set the presentation or behavior of other content, or to set the relationship between a document and other documents relationship, and content that conveys other information, including:

base link meta noscript script style template title

Flow content

Flowing content refers to elements that can be placed in the body and can be used to organize document content. It includes:

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

Chapter content refers to the elements used to define the title and page content area, which includes:

article aside nav section

Heading content

Heading content refers to the Elements that define the content of the chapter title, which include:

h1 h2 h3 h4 h5 h6 hgroup

Phrasing content

Phrasing content refers to elements in the document that can be displayed inline. It includes:

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 文本内容

Embedded content

Embedded content refers to elements that need to introduce other resources, and it includes:

audio canvas embed iframe img MathML math object picture SVG svg video

Intersection content

Interactive content refers to elements that try to interact with users, which includes:

a(如果 href 属性存在)audio(如果 controls 属性存在) button details embed iframe
img(如果 usemap 属性存在)input(如果type属性存在)label object(如果 usemap 属性
存在)select textarea video(如果 controls 属性存在)

(Learning video sharing:

css video tutorialhtml video tutorial)

The above is the detailed content of What are the classifications of HTML5 file elements?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn