Organizing text with HTML-elements
This page is organized using different elements in an attempt to make it easier to follow along with for instance a screen reader. At freeCodeCamp they describe three of the elements used on this page:
This text is wrapped within a section element, which in turn is wrapped inside an article element.article
is a sectioning element, and is used to wrap independent, self-contained content. The tag works well with blog entries, forum posts, or news articles. [...] Thesection
element is also new with HTML5, and has a slightly different semantic meaning thanarticle
. An article is for standalone content, and a section is for grouping thematically related content. They can be used within each other, as needed. For example, if a book is the article, then each chapter is a section. When there's no relationship between groups of content, then use adiv