Katrina wrote:
"Who has ever seen a div with a class of header? Why not use a header (eg.<h1>) element?"

I may not have understood that. I may have misheard that. I'm sorry if I did.

Aren't the header tags reserved for text? Is it acceptable form to place non-textual elements only inside of header tags? Eg. <h1><img src="image.jpg" alt="An image"></h1> ?

G'day Kat

My understanding was that he was talking about things like:

<div class="header">This is a heading on the page</div>

With a bunch of CSS to style div.header so that it is big and bold and a different colour or something

I see that on poorly marked-up pages all the time. When folks first start standards-based design (or even simply CSS-based layout) they don't necessarily comprehend the value of semantics straight off

After a while, they realise that using a H1 is a much better option, but not everyone gets that right away

It's just as likely that I misunderstood, but that was my interpretation, anyway

Cheers
Lachlan
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to