So this is just a matter of clarification. I’ve been working on the HTML/CSS module for the past couple of weeks and am really enjoying the experience so far. I think most of the concepts, when first introduced, are thoroughly explained and then applied in subsequent lessons. But re-reading the “Learn Applied Accessibility: Wrap Content in the article Element” lesson, this paragraph is confusing me:
The
section
element is also new with HTML5, and has a slightly different semantic meaning thanarticle
. Anarticle
is for standalone content, and asection
is for grouping thematically related content. They can be used within each other, as needed. For example, if a book is thearticle
, then each chapter is asection
. When there’s no relationship between groups of content, then use adiv
.
So how should I be parsing this? I feel like a book is better described as a section because you’re grouping chapters, which are articles that “stand alone.” Right? Can someone help? Haha