+ 8
Anyone can explain me what is difference between article and section?
30 Answers
+ 35
section can be used to divide articles and articles can be used to define page
+ 18
Think newspapers. Sections contain articles. Articles are any self-contained information, and sections can be used to catagorize them. Though, in HTML, the section and article tags don't really do anything special, and you won't break your code if you "use them wrong", as they were made to help define structure so that you could target said structure with CSS. Like your header and footer tags, they're really just div tags with better descriptive names.
+ 8
The article tag is meant to define logically different set of items. Where the related items of an article are defined inside the section.
Although section can be used without a parent article tag.
+ 5
section is a big box that can be articles inside
+ 5
Look up simantics, there's a whole list of tags that are simply named just for ease of understanding. Section and article are both div elements but with names. This allows clarity when working with groups. Articles though will normally contain multiple sections. I'd recommend using divs first then replcaing them later with simantic names.
+ 4
article is used to define the page,
whilst section is used to divide the articles
+ 4
article is the main element and section is is sub element, I other words An article is divided into sections
+ 3
Article and sections both are HTML5 elements, before that we use div element. Now article and sections made it more easy to work with, An article is main container for the content , but the section is a sub division of Article.
Note that the section content should be related to the main article
+ 2
article used into section and a section contains of many articles to describe smth
+ 2
section is the part of an article
+ 2
A section is used to define a break between articles. Articles are usually smaller areas of text, like in a newspaper or magazine.
+ 1
HI. I think section element is a logical divider in a document or within article.
+ 1
Article is basically your main heading or your main contents and section is sub contents to article contains related information about article or we can call subheadings to your article.
+ 1
Article can have sections inside it
+ 1
yes i can
+ 1
The section tag defines sections in a document, such as chapters, headers, footers, or any other sections of the document and the article tag specifies independent, self-contained content.
0
As I understand it, an Article is a post/blog/story that easily lends itself to being published as a stand alone. A Section is where you gather these articles on your page. The person who explained it to me did a much better job, sorry.
0
section can be used to divide articles and articles can be used to define page
0
In theory, they are the exact same thing, but they conceptually serve different purposes.
0
да да,именно так