Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts

    How should I label these headers?

    On my main page is a descending list of the latest news posts along with their title. Should I label the most recent title as my <h1> and the the next descending 5 as <h2>-<h6>? Or should I:

    <h1>
    <h2>
    <h2>
    <h2>
    <h3>
    <h4>...? Or what combination?

    http://www.cineweekly.com/test.php (may look weird, I'm playing with the CSS)

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello cineweekly.com,
    I don't see any problem with re-using a heading tag.
    Use h1 for the main heading, h2 for a sub-heading and, if h3 is next in line for the heading on a preview, then all the the previews can use h3 for their heading.

    Is that what you're asking?
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts
    Yeah, I don't see any other way to add heading tags to my main page. Would changing the headings every day on the main page affect SEO?

  • #4
    Regular Coder
    Join Date
    Oct 2009
    Posts
    177
    Thanks
    20
    Thanked 2 Times in 1 Post
    Why would you change them every day?

  • #5
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts
    Because I make new posts every day and the title appears on the main page.

    Today it would look like this:
    Dec. 15th <h1> C Title </h1>
    Dec. 14th <h2> B Title </h2>
    Dec. 13th <h3> A Title </h3>

    Tomorrow would look like this:
    Dec. 16th <h1> D Title </h1>
    Dec. 15th <h2> C Title </h2>
    Dec. 14th <h3> B Title </h3>
    Dec. 13th <h4> A Title </h4>

    Any other way to do it? Or do I even need heading tags in the index?
    Last edited by cineweekly.com; 12-15-2010 at 10:40 PM.

  • #6
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 725 Times in 719 Posts
    I'd make the heading on your page - CineWeekly - an h1, then all the film titles h2s. They're all equally important and hence should have the same heading level.

    With your approach:

    Dec. 15th <h1> C Title </h1>
    Dec. 14th <h2> B Title </h2>
    Dec. 13th <h3> A Title </h3>

    that implies that B Title is less important, and part of C title etc, which isn't the case, and isn't semantic. So, I'd suggest:

    <h1>CineWeekly</h1>
    ...

    <h2> C Title </h2>
    <h2> B Title </h2>
    <h2> A Title </h2>

  • #7
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts
    Well B Title would be less important once C Title is posted. Shouldn't I leave headers off my main page and only place them in the actual articles?

  • #8
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 725 Times in 719 Posts
    There's no reason not to use headings on this page.

    I think they're either headings or list items myself.

  • #9
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts
    That's what I would think too but neither is working out. I tried setting it up as a list all day yesterday but I couldn't get the whole hover state backgrounds and all the styling so I just stuck with what works. May not be 100% semantic (or even 50%) but it looks the way I want across all browsers. Also, two very popular movie sites, Ain't It Cool and JoBlo, don't have header tags at all and those are the only two I checked just now.

    I don't think anyone's answered whether or not the daily changing of the headers would affect SEO.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •