What is the difference between an <article> and <section> in Html5?
S.no | Article | Section |
---|---|---|
1. | Represents self-contained composition | Represents a generic section of an app or document |
2. | Appropriate if contents are listed in the document's outline. | Mostly theme-based groups of content |
3. | They are identified by including heading as a child of article element. | Identified by including heading as a child of section element. |
BY Best Interview Question ON 12 Mar 2020