html5 – 或者,其中包含

试图让我的头脑围绕 HTML5中的新语义元素.

< section>属于< article>或者是周围的其他方式?还有什么关系吗

我正在重新构建一个wordpress博客.

解决方法

HTML5 spec

The section element represents a generic document or application section. A section,in this context,is a thematic grouping of content,typically with a header and possibly a footer.

The article element represents an independent section of a document,page,or site. This Could be a forum post,a magazine or newspaper article,a blog entry,a user-submitted comment,or any other independent item of content.

所以我会说这两个部分和文章元素可以包含其他元素,如果合适的话.我认为你的图表是有意义的,除了嵌套的部分元素:

The section element is not a generic container element. When an element is needed for styling purposes or as a convenience for scripting,authors are encouraged to use the div element instead. A general rule is that the section element is appropriate only if the element’s contents would be listed explicitly in the document’s outline.

也许使用< div>对于外面的?

相关文章

HTML5和CSS3实现3D展示商品信息的代码
利用HTML5中的Canvas绘制笑脸的代码
Html5剪切板功能的实现
如何通过HTML5触摸事件实现移动端简易进度条
Html5移动端获奖无缝滚动动画实现
关于HTML5和CSS3实现机器猫的代码