W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2011

[whatwg] New attributes would degrade better than new elements

From: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Date: Wed, 26 Oct 2011 21:58:52 +0200
Message-ID: <20111026215852.4abe8cc5@desudesudesu>
"Jukka K. Korpela" <jkorpela at cs.tut.fi> schrieb am Wed, 26 Oct 2011
22:38:06 +0300:

> New elements like <nav> and <footer> have the problem that some
> existing user agents don't recognize them, even for the purposes of
> styling. So if you want to use <nav>, then - unless you're using it
> for purely semantic reasons with no idea of styling - you need to use
> some special trick to make old browsers recognize it or assign your
> styles to some logically redundant <div> markup that you use in
> addition to <nav>.
> 
> Therefore, it would be much simpler, for compatibility with existing 
> user agents, to use just <div type=nav> and <div type=footer>. Such 
> elements can be styled at will, and if any browsers or search engines 
> wish to recognize semantic markup, type=nav should not be a bigger 
> problem than <nav>, rather smaller.
> 
> I understand that this should have been suggested years ago. But I 
> didn't think of the issue, and it seems that neither did anyone else, 
> aloud. And it's not too late, is it?

I'd argue it is: <http://caniuse.com/html5semantic>

-- 
Nils Dagsson Moskopp // erlehmann
<http://dieweltistgarnichtso.net>
Received on Wednesday, 26 October 2011 12:58:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC