On Wed, 28 May 2008 17:49:21 +1000, Chris Pearce wrote:
> For a few years now I’ve been marking up a clients company logo as a 
> <h1>. I just wanted to get an idea of how many people actually do 
> this compared to using a html image tag? I believe a <h1> is more 
> semantically correct however I’d be interested in seeing what other 
> people on this list think.

There are many discussions of this one around. Here's one:
http://www.andybudd.com/archives/2004/03/quick_quiz_h1s_and_logos/
There are lots more :)

My take is that I will put the logo in the h1 element when the logo is 
the most important thing on the page ("most important" isn't quite what 
I mean, but its as close as I am getting at 6PM :))
This is usually the homepage.
So other pages don't get a h1 for the logo, the title of that page gets 
the h1 instead.

I usually end up with markup like this:
<div id="mast">
<XX id="logo"><img></XX>
<p>Possibly other stuff too</p>
</div>

Where XX is ether H1 or div depending on the page.
This lets me write a set of rules like:
#mast { ... }
#mast #logo { ... }
so all pages are the same, whether the logo has the h1 or not

Hope it helps

warmly,
Lea
-- 
Lea de Groot
Elysian Systems
Brisbane, Australia

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to