Christian Ziebarth

Posts Tagged ‘php’

Six Levels of Headers

In Uncategorized on March 23, 2009 at 1:07 pm

Had just started this entry on how I use HTML headers when I came across this site called The H1 Debate. It posits the question, “Should H1’s be used for a company logo or a page title?”

My belief is that the H1 should be the most important bit of information about the whole site, in other words, the string of text that names the entire site, while the H2 is the next most important header (obviously) and in most instances, though not all, would be the page title for any page of a site other than the front page. On this blog here the H1 throughout the entire site is “CMZ Media Developer.” The H2 is the title for each individual entry. When you are only looking at one entry there is only the one H2 on the page (unless you put an H2 within an entry, which you shouldn’t be doing as any header within an entry would be subservient to the H2) but in some cases, such as on the front page, there is going to be multiple H2 instances.

There’s going to be some differences from site to site since every site has different kinds of information but let me go through a couple examples from sites I have worked on to show how I have implemented headers. Read the rest of this entry »