so writing this is more correct in terms of content priority
Code:
<h2><strong>Exclusive</strong> <span>Stuff</span></h2>
<h1><em>A Company</em> Presents <strong></h1>
but as
xhtmlcoder and cooper.semantics mentioned, this is wrong.
so what is the correct way to handle this?
am i supposed to take
Code:
<h1><strong>Exclusive</strong> <span>Stuff</span></h1>
<h2><em>A Company</em> Presents <strong></h2>
and reverse that positioning using css???
Well, or mark up the first thing as h1 and second one as h2…
however neither of those “sentence fragments” make sense as headers, or bits of a header…
It might be good to hear why the googles are supposed to take the things as separate fragments rather than an entire full sentence.
Even if you had, say, multiple pages where
“Joe’s Garage presents”
“MOTORCYCLE MADNESS!!!1111LOL”
and another with
“Joe’s Garage presents”
“CHAMPION LEMON RACING!!!”
and
“Joe’s garage presents”
“MOTOR OIL CHUG!!!”
those are all considered single sentences…
however I wonder if you are thinking of a typical thing done with series…
you may have heard of a “series” called “Alfred Hitchcock presents”?
Underneath is a new movie title.
However, in that context then the name of the series is
<h1>Alfred Hitchcock (possibly <small>)presents</small></h1>
(the small really is iffy in this case as the text was originally smaller for presentational purposes and to enhance the name “Alfred Hitchcock”)
and so the name of the movie would be an h2
<h2>THE BIRDS</h2>
However, let’s say we’re on a page dedicated to The Birds. Now The Birds should be a main title, an H1.
Then it is better to do
<p id=“intro”><strong>Alfred Hitchcock</strong> presents…</p>
<h1>THE BIRDS</h1>
Again, the strong is an idea, depending on if the director’s name really is so important that it should be emphasised… or as HTML5 people call it, “important” (I’d say so, Hitchcock rocked).