HTML HTML Basics Structuring Your Content Grouping Content with <main> and <div>

SHUBHADEEP MUKHERJEE
SHUBHADEEP MUKHERJEE
470 Points

section vs article

section vs article...please help me to understand the difference

2 Answers

Jassim Al-Hatem
Jassim Al-Hatem
16,940 Points

Hi, check this StackOverflow answer. It explains it perfectly.

Irenius Mhemba
Irenius Mhemba
758 Points

According to MDN, a section is a standalone section — which does not have a more specific semantic element to represent it. An article element on the other hand is intended to be independently distributable and has a semantic significance