div section article ,语义是从无到有,逐渐增强的。div 无任何语义,仅仅用作样式化或者脚本化的钩子(hook),对于一段主题性的内容,则就适用 section,而假如这段内容可以脱离上下文,作为完整的独立存在的一段内容,则就适用 article。原则上来说,能使用 article 的时候,也是可以使用 section 的,但是实际上,假如使用 article 更合适,那么就不要使用 section 。nav 和 aside 的使用也是如此,这两个标签也是特殊的 section,在使用 nav 和 aside 更合适的情况下,也不要使用 section 了。
对于 div 和 section、 article 以及其他标签的区分比较简单。对于 section 和 article 的区分乍看比较难,其实重点就是看看这段内容脱离了整体是不是还能作为一个完整的、独立的内容而存在,这里面的重点又在完整身上。因为其实说起来 section 包含的内容也能算作独立的一块,但是它只能算是组成整体的一部分,article 才是一个完整的整体。
详细解决方案
div section article界别-20150227
热度:409 发布时间:2016-04-24 02:55:05.0
相关解决方案
- @section Head的有关问题
- Each section listed below builds on one another.翻译解决方法
- Each section listed below builds on one another.通译
- smarty section,该如何处理
- html5中div、section、article的差异
- eclipse中标签如何对应《article》如何对应《/article》如何配置颜色显示
- div section article界别-20150227
- LIBTUX_CAT:607: ERROR: Cannot open section _MACHINES_SECT of the TUXCONFIG: -1,该如何解决
- LIBTUX_CAT:607: ERROR: Cannot open section _MACHINES_SECT of the TUXCONFIG: -一
- address doesn't contain a section that points to a section in a object file,该如何解决
- ELF Format 札记(五)—— 特殊 Section
- ELF Format 札记(三)—— Section Types
- Keil编译出现“Error: L6406W: No space in execution regions with .ANY selector match Section"的解决方法
- .\Obj\HST_3G_IAP.sct(七): error: L6236E: No section matches selector - no section to be FIRST/LAST
- Each section listed below builds on one another.翻译解决思路
- 错误码: 1630 FUNCTION count does not exist. Check the ‘Function Name Parsing and Resolution‘ section in
- 缓存线程池的使用 (来自https://blog.csdn.net/tyyecec/article/details/62443587)
- 响应式web设计学习日志1.0—HTML5中div、section、article之间的具体区别
- hdu 4763Theme Section
- http://www.csdn.net/article/2013-05-13/2815252/2
- cobol学习笔记(4)COBOL的程序结构 INPUT-OUTPUT SECTION2010/06/30 16:45INPUT-OUTPUT SECTION(输入输出节)
- P1181 数列分段 Section I
- https://blog.csdn.net/qq_14942529/article/details/81516293
- http://blog.csdn.net/lhshaoren/article/details/7897543
- https://blog.csdn.net/SimileciWH/article/details/84976187
- http://blog.csdn.net/hell2pradise/article/details/5901745
- HTML section 标签
- HTML article 标签
- html5中的div和section,article,aside的用法
- Oracle+字符集的查看和修改(原文http://blog.csdn.net/tianlesoftware/article/details/4915223)