+ 8

Anyone can explain me what is difference between article and section?

12th Jan 2016, 10:21 PM
Levani Jincharadze
Levani Jincharadze - avatar
30 Antworten
+ 35
section can be used to divide articles and articles can be used to define page
20th Feb 2016, 3:31 AM
sunil kumar sharma
sunil kumar sharma - avatar
+ 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.
30th May 2016, 1:24 AM
Murph Strange
Murph Strange - avatar
+ 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.
18th Mar 2016, 4:10 AM
Nadir Laskar
Nadir Laskar - avatar
+ 5
section is a big box that can be articles inside
29th May 2016, 4:23 AM
Alfonso Diaz Rueda
Alfonso Diaz Rueda - avatar
+ 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.
5th Sep 2016, 8:49 AM
nk361
nk361 - avatar
+ 4
article is used to define the page, whilst section is used to divide the articles
4th Jun 2016, 11:03 AM
Arthur Michael Pegios
Arthur Michael Pegios - avatar
+ 4
article is the main element and section is is sub element, I other words An article is divided into sections
9th Jun 2016, 7:05 PM
Saurav Kumawat
Saurav Kumawat - avatar
+ 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
24th Jun 2016, 2:43 AM
Saurav Kumawat
Saurav Kumawat - avatar
+ 2
article used into section and a section contains of many articles to describe smth
4th Jun 2016, 7:50 AM
Bohdan Sakovych
Bohdan Sakovych - avatar
+ 2
section is the part of an article
23rd Jun 2016, 5:12 PM
Gokul S
+ 2
A section is used to define a break between articles. Articles are usually smaller areas of text, like in a newspaper or magazine.
8th Oct 2016, 1:14 AM
Artemis
Artemis - avatar
+ 1
HI. I think section element is a logical divider in a document or within article.
21st Feb 2016, 9:11 AM
Дмитрий Компутеров
Дмитрий Компутеров - avatar
+ 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.
23rd Mar 2016, 2:07 PM
Sandeep Singh
+ 1
Article can have sections inside it
2nd Apr 2016, 10:36 AM
Tornike Mamatsashvili
Tornike Mamatsashvili - avatar
+ 1
yes i can
13th Oct 2016, 2:29 PM
Md Naym
Md Naym - avatar
+ 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.
16th Nov 2016, 12:08 AM
Isaac G.
Isaac G. - avatar
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.
29th May 2016, 11:22 PM
Eric Cross
Eric Cross - avatar
0
section can be used to divide articles and articles can be used to define page
1st Jun 2016, 11:10 PM
RJ M
0
In theory, they are the exact same thing, but they conceptually serve different purposes.
4th Jun 2016, 6:46 AM
Gabe Rust
Gabe Rust - avatar
0
да да,именно так
6th Jun 2016, 2:14 AM
Verulashvili Mikhail Alecseevich
Verulashvili Mikhail Alecseevich - avatar