I noted that too, and I think that the issue may be in your interpretation of "header" (well it was what confused me anyway until I thought about it).
Using a div with class=header is fine when the div is actually a "box" that contains for example your logo/menu etc. Other people call it the "masthead". I *think* Tantek was referring to the use of "div class=header" when the only contents of the div are text, and should therefore be using h1 instead. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Trick Sent: Monday, 3 October 2005 8:28 PM To: [email protected] Subject: Re: [WSG] WE05 There's nothing in the HTML specs that would indicate that the contents of a header are limited to text. AFAIK you can put any inline level content in a header. In my opinion using an image with alt text is much better than using a background image with invisible text. In makes more sense semantically (because the images *is* the content) and also practically because trying to fake it can cause all sorts of accessibility issues. You should try to make sure you actually are using a header as a header. This is quite a mess because many web pages don't really fit the simple h1 > h2 > etc hierarchy. It works well for academic papers, but wenever I go to to build a website I always find myself confused as to what should be the <h1>. Many web pages that I make don't have one because the user already knows what the pages is about and adding another title just takes up valueable real estate. Katrina wrote: > Gday, > > I was lucky enough to be able to attend WE05, and I was listening to > something Tantek Celik said and I've been mulling it over for a few > days, and I just thought I'd ask a group who'd know. > > Context: I'm a uni student, so I don't know much. > > Going back to Tantek Celik, he was referring to meaningful markup and > he said > > "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> ? > > Kat ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
