大佬教程收集整理的这篇文章主要介绍了HTML5语义线程注释,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
示例A:
<section> <article> ...blog post... <section id="comments"> <article id="comment_1">...comment 1...</article> <article id="comment_2"> ...comment 2... <article id="comment_3">...comment 3 in response to comment 2...</article> <article id="comment_4"> ...comment 4 in response to comment 2... <article id="comment_4">...comment 5 in response to comment 4...</article> </article> </article> <article id="comment_6">...comment 6...</article> </section> </article> </section>
示例B(理论rel =“父”):
<section> <article> ...blog post... <section id="comments"> <article id="comment_1">...comment 1...</article> <article id="comment_2">...comment 2...</article> <article id="comment_3" rel="comment_2" class="indent-1">...comment 3 in response to comment 2...</article> <article id="comment_4" rel="comment_2" class="indent-1">...comment 4 in response to comment 2...</article> <article id="comment_5" rel="comment_4" class="indent-2">...comment 5 in response to comment 4...</article> <article id="comment_6">...comment 6...</article> </section> </article> </section>
编辑:
为了进一步澄清,每个评论都被列为规范建议中的一篇文章,因为它是主文章的一个小节的一篇文章,因为它的相关性.而线程评论仍然是这个讨论的延伸.
Original Article: "post some awesome photoshops of my dog!" Comment 1: (link/image of awesome photoshop response that goes crazy viral) Comment 2: re comment 1: oh wow,that is amazing photoshop skills! Comment 3: re comment 1: Fantastic! How do you do that? Comment 4: re comment 3: See this tutorial I found on that effect.
在这一点上,我们已经不再真正地讨论原文.虽然有一种关系,但似乎更重要的是通过嵌套元素来代表语义关系.所以我必须和“B”一起去.
以上是大佬教程为你收集整理的HTML5语义线程注释全部内容,希望文章能够帮你解决HTML5语义线程注释所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。