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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    H1 Titles Or H2 for Google

    Am i supposed to use the H1 or H2 Tag for my page / post titles?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,642
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    It depends. Basically the first level heading is meant for the primary title of a document. For example, if you have a thesis the overall title of it would be the h1. Any subsequent section would be a child of the primary title and therefore would require a second level heading, and so forth. Same would apply to average websites where the h1 is the title of the entire page, and lower level headings follow.

    Now, this was when HTML was intended/used in its original sense, as (text) document mark-up language. With the advent of HTML 5 and the continuing progression of making an “application” out of everything in the world wide web, things have changed a bit. There the headings aren’t applied document wide but for each section. You have to consider the fact that <section> and <article> are supposed to be embeddable in other websites/documents/applications, and therefore it would mess up the document outline if headings were not matching the structure of the document where the sections are embedded. This means in HTML 5 each <section> or <article> can have a first level heading, and the browser is looking at the nesting structure of the articles/sections to determine which level it is.

    So, it depends on which (supposed) standards you follow.

  • Users who have thanked VIPStephan for this post:

    juliarose (08-02-2012)


  •  

    Tags for this Thread

    Posting Permissions

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