How to properly markup the title of a site in HTML5? Usually I markup a website's name with:
<h1>
<a href=#>Website Name</a>
</h1>
Recently I've come across with the HTML5 Document Outlining Algorithm. I have also read that it seems like marking your site's name in h1 tag don't make sense, since every page probably will have different main heading (h1), in addition to the website name.
What if let's say on Facebook, if the markup of the Facebook's logo/title is wrapped in <h1>
tag. Then if every post is wrapped in <article>
tags. For example:
<article class="post">
<h5 class="post-header">
<a href="#">Someone has shared Blah Blah's photo</a>
</h5>
<div class="post-body">...</div>
</article>
I think the document outline would be
Facebook
1.1 Someone has shared Blah Blah's photo
1.2 Other Posts
1.3 Other Posts
Is that okay?