Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: H1 Titles Or H2 for Google
08-01-2012, 11:00 AM #1
- 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?
08-01-2012, 12:24 PM #2
- 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
<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
<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: