css 嵌套 元素所属类别
元素所属类别
- Metadata content(元数据元素)(8)
base,link,meta,noscript,script,style,template, title
- Flow content(流式元素)(约80)
a,abbr,address,area(如果它是map元素的后裔),article,aside,audio,b,bdi,bdo,blockquote,br,button,canvas,cite,code,data,datalist,del,dfn,div,dl,em,embed,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hr,i,iframe,img,input,ins,kbd,keygen,label,main,map,mark,math,meter,nav,noscript,object,ol,output,p,pre,progress,q,ruby,s,samp,script,section,select,small,span,strong,sub,sup,svg,table,template,textarea,time,u,ul,var,video,wbr,text
- Sectioning content(章节元素)(4)
article,aside,nav,section
- Heading content(标题元素)(6)
h1,h2,h3,h4,h5,h6
- Phrasing content(叙述元素)(约53)
a(如果其只包含叙述元素),abbr,area(如果它是map元素的后裔),audio,b,bdi,bdo,br,button,canvas,cite,code,command,datalist,del(如果其只包含叙述元素),dfn,em,embed,i,iframe,img,input,ins(如果其只包含叙述元素),kbd,keygen,label,map(如果其只包含叙述元素),mark,math,meter,noscript,object,output,progress,q,ruby,s,samp,script,select,small,span,strong,sub,sup,svg,textarea,time,u,var,video,wbr,text
- Embedded content(嵌入元素)(9)
audio,canvas,embed,iframe,img,math,object,svg,video
- Interactive content(交互元素)(13)
a,audio(如果设置了controls属性),button,embed,iframe,img(如果设置了usemap属性),input(如果type属性不为hidden状态),keygen,label,object(如果设置了usemap属性),select,textarea,video(如果设置了controls属性)
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。