Can someone please help me with an easy way to understand this statement?! | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 4

Can someone please help me with an easy way to understand this statement?!

When an <article> element is nested, the inner element represents an article related to the outer element. For example, blog post comments can be <article> elements nested in the <article> representing the blog post.

16th Apr 2018, 6:45 PM
Mac Alvin
Mac Alvin - avatar
3 ответов
+ 2
I think your interpretation is correct in that as a whole they would qualify as being independent. The comment article could be seen as independent in context of only the Blog article
16th Apr 2018, 7:41 PM
Mike Choy
Mike Choy - avatar
+ 1
Hi Mac An Article is meant to indicate independence, from the main page. ie if the article existed in its own would it still make sense. A nested article is Semantically correct if the sub article can also be seen as separate. The example given being a blog post vs the comments on the post. I'm not personally sure the example is that correct, as a comment on a post would not make sense without it's context. However they are independent of each other in terms of authorship, so can I can see the point.
16th Apr 2018, 7:17 PM
Mike Choy
Mike Choy - avatar
0
Hi Mike, thanks alot. Just want to confirm, "does nesting an article, in relation to the above example only provide a relationship between the two articles but when they are (have to be) separate?" Much appreciate your help!
16th Apr 2018, 7:31 PM
Mac Alvin
Mac Alvin - avatar