Re: Naming of <header>

thanks philip, it is exactly what i wanted.

from a quick review [1] of a sample of pages (where class="header" is
used more than once on a page) of your  sample, the usage of
class="header" appears to bear little relationship to the
specification of the <header> element in HTML5 [2]

it appears to be mainly used  to indicate a heading for styling purposes

<SPAN class=Header>Want to Join?</SPAN>
<table class="header" id="neutral_hmenu">
<table width="100%" class="header" id="neutral">
<table class="header" id="see_also">
<li class="header">


[1]
http://www.nlsme.co.uk/
http://www.nhai.org/
http://www.newsnow.co.uk/h/Sport/Football/SPL/Hibernian
http://www.olegnazarov.ru/


[2] http://www.w3.org/TR/html5/semantics.html#the-header-element


regards
stevef




2009/3/28 Philip Taylor <pjt47@cam.ac.uk>:
> Steven Faulkner wrote:
>>
>> hi philip,
>> can you provide some urls for this data?
>
> Not sure exactly what you're looking for, but I've uploaded:
>
> http://philip.html5.org/data/class-header-counts.txt
> http://philip.html5.org/data/class-footer-counts.txt
>
> Those are the lists of pages with class="header"/"footer", giving number of
> occurrences per page.
>
>> regards
>> steve
>>
>> 2009/3/28 Philip Taylor <pjt47@cam.ac.uk>:
>>>
>>> Steven Faulkner wrote:
>>>>
>>>> hey anne,
>>>> the google data gives no indication of the number of uses of a
>>>> particular class name on a web page, if for example the class name
>>>> "header" was in the main only used once, then it effectively the same
>>>> as the other data, so if the google data is being used as
>>>> justification for the way the header is currently specced it does not
>>>> provide adequate evidence.
>>>>
>>>> is there data available that shows  'header' is used as a class name
>>>> in the majority or even often more than once in web pages
>>>
>>> Looking at pages listed on dmoz.org a few months ago, using
>>> case-insensitive
>>> matching:
>>>
>>> Total number of pages: 127086
>>>
>>> Pages with any class="header": 3279
>>>
>>> Pages with 1 class="header": 2351
>>> Pages with 2 class="header": 322
>>> Pages with 3 class="header": 168
>>> Pages with 4 class="header": 89
>>> Pages with 5 class="header": 87
>>> Pages with 6..10 class="header": 169
>>> Pages with > 10 class="header": 93
>>>
>>>> same goes for 'footer'
>>>
>>> Pages with any class="footer": 6765
>>>
>>> Pages with 1 class="footer": 4471
>>> Pages with 2 class="footer": 843
>>> Pages with 3 class="footer": 427
>>> Pages with 4 class="footer": 256
>>> Pages with 5 class="footer": 125
>>> Pages with 6..10 class="footer": 405
>>> Pages with > 10 class="footer": 238
>
> --
> Philip Taylor
> pjt47@cam.ac.uk
>



-- 
with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
http://www.paciellogroup.com/resources/wat-ie-about.html

Received on Saturday, 28 March 2009 08:32:24 UTC