# HTML5 - Section vs. Article

**URL:** <https://discourse.softpress.com/t/html5-section-vs-article/22675>\
**Category:** Freeway\
**Created:** [September 21, 2015, 7:39am UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675 "2015-09-21T07:39:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasKimmich](https://discourse.softpress.com/user_avatar/discourse.softpress.com/thomaskimmich/32/2753_2.png) [@ThomasKimmich](https://discourse.softpress.com/u/ThomasKimmich)\
**Post date:** [September 21, 2015, 7:39am UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/1 "2015-09-21T07:39:35Z")

</div>

Hi guys,

still haven’t got really the gist how to treat “section” and “article” semantically correct (if it’s even possible).

In my world, I use usually the “section” as the higher level which can contain “articles”, such as so:

The “Produkte” is the h1 of a section, while Fenster (windows), Türen (doors), Sonnenschutz (sun-protection) are the h1 of each article.

Or would you do it more the other way round which will mean article above section?

Cheers

Thomas

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![Caleb\_G1](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@Caleb\_G1](https://discourse.softpress.com/u/Caleb_G1)\
**Post date:** [September 21, 2015, 10:21pm UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/2 "2015-09-21T22:21:58Z")

</div>

According to HTML5 Doctor, here are some rules of thumb for choosing between `<article>` and `<section>`:

- Would the content would make sense on its own in a feed reader? If so use `<article>`
- Is the content related? If so use `<section>`
- Finally if there’s no semantic relationship use `<div>`

With that understanding, it seems to me that with your example, I wouldn’t use `article` at all, and instead use a bunch of `section`s. The reason why is that the content in the `article`s wouldn’t make sense in a feed reader, being that they are only snippets of the complete content. However, they are all related (as far as I can tell, I can’t read german), making `section` quite appropriate.

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![The\_Big\_Erns](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/t/3ec8ea/32.png) [@The\_Big\_Erns](https://discourse.softpress.com/u/The_Big_Erns)\
**Post date:** [September 22, 2015, 5:12am UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/3 "2015-09-22T05:12:56Z")

</div>

Thomas, I am sorry to come so late to this. This is what I consider the fun stuff.

I think the best advice would be to keep your semantics as simple and straight-forward as possible… the HTML5 Doctor rules are good guidelines, and asking yourself how the content groups _naturally_ is a good way to work it out… without being _too_ obsessive-compulsive about drawing the lines.

Like you, I consider `<section>` as a large (and generic) sectioning element while `<article>` is more focused. Article elements need to be self-contained enough to appear as completely separate content-- as in Caleb’s feed reader example.

That doesn’t mean Article has to have a lot of content, just a complete “story”. The Read More buttons in your example kill the idea those cards are self-contained, but leaves open the idea that they are different stories gathered in this section/group. So, I might support them as articles but I also might think of them as items in a list.

There is a side of Semantics I think is messy and subjective, and so I think exploring how to use these new sectioning elements is a good thing and should be encouraged. The web may no longer be a fire and forget medium-- what seems okay today may tomorrow be so yesterday.

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![ThomasKimmich](https://discourse.softpress.com/user_avatar/discourse.softpress.com/thomaskimmich/32/2753_2.png) [@ThomasKimmich](https://discourse.softpress.com/u/ThomasKimmich)\
**Post date:** [September 22, 2015, 7:28am UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/4 "2015-09-22T07:28:34Z")

</div>

Hi guys,

thanks so much for this - yeah, the fun part!

I’m currently working on a (not new) core principle, which kills “bloated - mega-flyout - schischi and lala” menus. I try to substitute this by guiding a visitor through each page, focusing her on the main aspects.

Menu entries are just page-related - not cross-linked (which is in Germany a no-go - they primary discover a page just by menu). So it’s about an index-page (such as this very raw development file [https://dl.dropboxusercontent.com/u/8231701/cdn-digitalmedia-clients/schumacher-merz/index.html](https://dl.dropboxusercontent.com/u/8231701/cdn-digitalmedia-clients/schumacher-merz/index.html) which can be self-contained (one-pager) or multiple-pages.

So far so good, but now the tricky thing:

If you think the index as a one-page project, I think I do good declaring those as “articles”. There won’t be more - it is self-contained. But if it is a multiple-pages project, each “article” will naturally be just an excerpt - with the call-to-action to read a following full article - and then, if I got you correctly, it would be more a “section”.

But on the other hand, the excerpt contains enough food for feed (gosh - sometimes I’m not sure creating a new language) - so I even can keep it as an “article”.

Don’t mistake me here - I’m not going to be too obsessive in this. But semantic is an important and exciting task. And I know that HTML5 semantics are mainly created for “blog-posts”.

But if you want so, I’m perhaps missing another semantic level which clever combines excerpt with article.

####theExcerpt

“Use this if there’s more to be expected, such as an excerpt on an index with the full article on another page.” (Thomas’ doctor said this).

I perhaps have to have another look into CSS-tricks, cause this is pretty similar to what I’m after - just looking how it is handled there:

And by doing so, he wraps the excerpt as “article”.

So guys - I think we are on the right path. And it’s always a pleasure having a talk with you gentlemen.

Cheers

Thomas

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![Todd1](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/t/838e76/32.png) [@Todd1](https://discourse.softpress.com/u/Todd1)\
**Post date:** [September 22, 2015, 3:11pm UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/5 "2015-09-22T15:11:03Z")

</div>

Really? Can you point me towards an article?

> And I know that HTML5 semantics are mainly created for "blog-posts”.

Todd  
[https://creativ.space](https://creativ.space)  
[https://xiiro.com](https://xiiro.com)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[https://freewaytalk.softpress.com/person/options](https://freewaytalk.softpress.com/person/options)

---

<div class="post-metadata">

**Author:** ![ThomasKimmich](https://discourse.softpress.com/user_avatar/discourse.softpress.com/thomaskimmich/32/2753_2.png) [@ThomasKimmich](https://discourse.softpress.com/u/ThomasKimmich)\
**Post date:** [September 22, 2015, 4:04pm UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/6 "2015-09-22T16:04:56Z")

</div>

No - I can’t, honestly. I think I got it from the corner A Book Apart and Jeremy Keith.

I may have dreamed this, but am under the impression, that he mentioned Blogs and its posts having had a permanent h1 Tag.

Assumed you create a blog called

####My Kitten Blog

which is the H1 of each single post, you can’t have another. So each Blog-Post Title is automatically a h2.

With introducing the semantic level section and article the problem has been solved - more than one h1 Tag allowed.

Perhaps it’s wrong to say HTML5 in general - but regarding the semantic level - I think it’s true.

Cheers

Thomas

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 24, 2015, 11:18am UTC](https://discourse.softpress.com/t/html5-section-vs-article/22675/7 "2015-09-24T11:18:20Z")

</div>

This is my understanding as well. Each Article creates a new “document root” context within which you can have a semantic H1, and they don’t step on each other. The big winner here is Wordpress and its kin, which can use the same template for the “latest post” portion of the index page and the individual /archive/datestamp/post-slug-here post pages.

Walter

On Sep 22, 2015, at 12:04 PM, Thomas Kimmich [email@hidden](mailto:email@hidden) wrote:

> No - I can’t, honestly. I think I got it from the corner A Book Apart and Jeremy Keith.
> 
> I may have dreamed this, but am under the impression, that he mentioned Blogs and its posts having had a permanent h1 Tag.
> 
> Assumed you create a blog called
> 
> ####My Kitten Blog
> 
> which is the H1 of each single post, you can’t have another. So each Blog-Post Title is automatically a h2.
> 
> With introducing the semantic level section and article the problem has been solved - more than one h1 Tag allowed.
> 
> Perhaps it’s wrong to say HTML5 in general - but regarding the semantic level - I think it’s true.
> 
> Cheers
> 
> Thomas
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk](https://freewaytalk.softpress.com/person/options)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[https://freewaytalk.softpress.com/person/options](https://freewaytalk.softpress.com/person/options)
