Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I still get confused about when to use a section, article, or div.
Community feedback
- @AllcodInPosted about 2 months ago
The use of a section, an article or a div is done according to semantics. For example, the section can be used to group thematically related content, on the other hand the article and the div do not have any particular meaning sementally. Outside of semantics, the section, the article and the div are used to contain elements.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord