Khi xử lý các nhận xét được tạo luồng trên blog trong HTML5, bạn có thể mong đợi các chuỗi nhận xét được lồng trong các trang <article>
không? Hoặc bạn sẽ xem xét ngay cả những chú thích lồng nhau để chỉ đơn giản là một số khác <article>
trong phạm vi bài đăng trên blog và luồng là vấn đề hiển thị?HTML5 ý kiến luồng ngữ nghĩa
Ví dụ 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>
Ví dụ B (với rel lý thuyết = "mẹ"):
<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>
Edit:
Để làm rõ hơn nữa, nó cảm thấy như mỗi bình luận được liệt kê dưới dạng một bài viết trong các khuyến nghị đặc tả là vì nó là một bài viết trong một su bsection của bài viết chính vì sự liên quan của nó. Và một bình luận luồng vẫn là một phần mở rộng của cuộc thảo luận đó.