Skip to main content
14 events
when toggle format what by license comment
Oct 9, 2021 at 15:36 history edited Mike Ciffone CC BY-SA 4.0
last time
Oct 9, 2021 at 15:23 history edited Mike Ciffone CC BY-SA 4.0
added some more stuff for the comments people
Oct 9, 2021 at 15:03 comment added Mike Ciffone @Bouh I edited the answer to address your question. You can put the <h1> in the <header> if you want. The markup I provided is simply for the sake of example.
Oct 9, 2021 at 15:00 history edited Mike Ciffone CC BY-SA 4.0
addressing some comments
Oct 9, 2021 at 14:48 comment added Mike Ciffone @Toastrackenigma I'm fairly certain that the <span> with the episode number is near the top left corner of the page a bit below the nav. Then there's probably the video itself, and then beneath which there is the <h1> with the name of the creative work followed by a few paragraphs of summary/description text. The semantics of the markup don't even really matter to the question tho. Google doesn't care, they're just looking for a unique <h1> to understand the content. This is splitting hairs at this point.
Oct 9, 2021 at 14:07 comment added toastrackengima @Rob Although it isn't required, the standard does suggest this, and semantically it makes the most sense --- especially given the alternative presented by this answer. Semantically, a <header> represents an introduction to the following content and potentially some navigation --- I'm sure you'd agree the <h1> and <h2> tags as used in this answer are part of the introduction to the content, and thus they should be within the <header>.
Oct 9, 2021 at 13:09 comment added Rob @Toastrackenigma Not necessarily and there is no such requirement in the standard.
Oct 9, 2021 at 12:54 comment added toastrackengima <h1> and <h2> should definetly go within the <header>.
Oct 9, 2021 at 11:16 comment added Bouh shouldn't h1 be inside header tag?
Oct 9, 2021 at 3:35 comment added Mike Ciffone @Howdy_McGee 100% nice catch. I tabbed boilerplate html in vscode and was going fast ¯_(ツ)_/¯
Oct 9, 2021 at 3:31 history edited Mike Ciffone CC BY-SA 4.0
fixed a mistake
Oct 9, 2021 at 3:26 comment added Howdy_McGee The body being the main section of your document, I don't believe the <header> and <footer> tags should be outside the main <body> tag semantically.
Oct 8, 2021 at 22:11 vote accept Bouh
Oct 8, 2021 at 21:31 history answered Mike Ciffone CC BY-SA 4.0