Chris Pearce wrote:
Hi,
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.
Cheers
Hi Chris,
I've often asked myself whether h1 was the best thing to use, and I used
it primarily because it was the first thing to appear on the page and I
wanted my headings in a logical order.
I now use the hcard microformat to mark up the company name and logo
because it offers some decent semantic class names and can be exported eg.
<div id="header">
<div class="vcard">
<a class="url" href="http://www.example.com">
<img class="logo" alt="Company Name Logo" src="..." />
<span class="fn">Company Name</span>
</a>
</div>
....
</div>
You can then extend the vcard using the include-pattern elsewhere on the
page such as the footer or just leave it as a simple vcard.
http://microformats.org/wiki/hcard
Regards,
Rob
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************