> -----Original Message-----
> From: Katrina [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 3 October 2005 10:35 AM
> To: Web Standards Group
> Subject: [WSG] WE05
> 
> "Who has ever seen a div with a class of header? Why not use a header 
> (eg.<h1>) element?"
> 
> 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> ?

Placing an image in the h1 tag should be fine, as long as it actually is a
"heading". 

However, using a <h1> for an entire header (top area of a page) I think is a
misuse of the tag. <h1> is meant for headings, not headers. A "heading", to
my understanding, is the title of a piece of content and there will be
generally one individual heading per page. A "header" is the top area of a
website and actually a markup of layout, not content.

If we started putting our entire headers into <h1> tags we would end up with
a lot of crap in them that doesn't belong there. People might start dumping
banners, logos and other stuff into the <h1> tags. Would be great for search
engine optimisation, but not really agreeable with correct markup. :)





******************************************************
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