html section vs div vs article

Using the HTML5 Structural Elements. Typically, but not always, sections have a heading. HTML Elements

, and
are all block elements. The article Element. Here we will discuss the difference between section and div in HTML. The
element defines a section in a document.. It … A section, in this context, is a thematic grouping of content. The
element should contain a piece of self-contained content that could be distributed outside the context of the page. The section tag defines sections in a document like chapters, headers, footers whereas div tag defines a division in an HTML document. Skip to main. But they have each different symantic. This includes things like news articles, blog posts, or user comments. Instead much emphasis on "div" as the container of choice is taught. Section. You should only use one
element on a page, and it shouldn’t be placed within an
,