I completed the Assessment: Structure a Page of Content. Below is My Code:
GitHub Page for Final Output
Problem:
Can someone clear my confusion about article & section elements as I was’t able to determine which one should I use & ended up using section .
I’m not able to determine the differences between them.
Hello @ShivangamSoni
check those Difference between <article> tag and <section> tag - GeeksforGeeks
html
The HTML element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper...
The HTML element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it. Sections should always have a heading, with very few exceptions.
hope those explain the difference and have a nice day
1 Like