0

About <article>

Can someone explain the <article> tag of HTML in the easiest way possible?

6th Aug 2024, 5:40 PM
Rahat Hasan Arpon
Rahat Hasan Arpon - avatar
2 odpowiedzi
+ 4
"The <article> 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 article, or a blog entry, a product card, a user-submitted comment, an interactive widget or gadget, or any other independent item of content." https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
6th Aug 2024, 5:43 PM
Lisa
Lisa - avatar
+ 4
Rahat Hasan Arpon When you read a blog you are reading an <article> . IT is then devided in <sections> and paragraph <p> <article> <h1> <section> <p> </p> </section> </article>
6th Aug 2024, 5:43 PM
BroFar
BroFar - avatar