Hello and welcome to our community! Is this your first visit?
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
    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
    Halle (Saale), Germany
    Thanked 1,051 Times in 1,024 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