I've read a few articles and think I have a general idea of what's a good way to approach which things to label h1, h2, etc on a page, but I thought I'd see if anyone has alternate opinions.
The template I'm designing is for a site with a bunch of content, but the biggest portion is movie reviews. Visually, it'll appear something like this (I'm simplifying as much as I can):
I want to lay out the code in a semantically logical way then style it, but I'm not sure how to handle the heading levels. Note that the title of the movie is repeated twice to address things with really long subtitles, since the primary title is also being used as a decorative design element and I want to keep it restricted to one line if at all possible.
I'm thinking that the pseudocode would look like this:
My main question is what to do with the site name from a semantics standpoint. Do I leave it as "plain" text in an appropriate div, as a background image with no semantic content at all, as a second h1 (seems wrong, but not entirely illogical), or lower h level?
Also, does it make sense to have the full movie title at an <h2> level, or should it be non-heading text styled to look more important?
Any suggestions or opinions greatly appreciated.
The template I'm designing is for a site with a bunch of content, but the biggest portion is movie reviews. Visually, it'll appear something like this (I'm simplifying as much as I can):
Code:
Site Name (in decorative banner)
MOVIE TITLE (or page title)
Review (or other section name)
{...summary of page content...}
Full Title and Subtitle of Movie
{vital stats box}
Plot Summary
{content}
Review
{content}
Trivia
{content}
I want to lay out the code in a semantically logical way then style it, but I'm not sure how to handle the heading levels. Note that the title of the movie is repeated twice to address things with really long subtitles, since the primary title is also being used as a decorative design element and I want to keep it restricted to one line if at all possible.
I'm thinking that the pseudocode would look like this:
Code:
<div>Site Name</div>
<h1>MOVIE TITLE Review</h1>
{Summary}
<h2>Full Title and Subtitle</h2>
{vital stats box}
<h2>Plot Summary<h2>
{content}
<h2>Review</h2>
{content}
<h2>Trivia</h2>
{content}
Also, does it make sense to have the full movie title at an <h2> level, or should it be non-heading text styled to look more important?
Any suggestions or opinions greatly appreciated.