HTML5 > Structures

Article, Div, Section in HTML5

What is the difference between Article, Section and Div?

  • <article> - If the content is self-sufficient, use <article>. There can be more than one article in a single page.
  • <section> - If the content is related with the page, use <section> . Such as header, footer etc.
  • <div> - If the content is standalone but part of the page, use <div> .A <div> can be part of <section> tag or <article> tag. It can also reside inside the <body> if we want to keep a certain content that is part of the page but many not fit in any <section> or <article> tag.
 Views: 4603 | Post Order: 56

Write for us

Hosting Recommendations