Posted by Andy Mabbett on 08/08/06 07:44
In message <1154948905.919964.315640@m79g2000cwm.googlegroups.com>, Andy
Dingley <dingbat@codesmiths.com> writes
>
>Andy Mabbett wrote:
>
>> What's the point of:
>>
>> <div id="header">xnot.org</div>
>>
>> when we have <Hn> tags?
>
><h*> tags can be repeated. Their "headerness" is an attribute.
Not disputed (though I always use only one H1 per page)
><div id="header"> can't be repeated.
Also not disputed, but irrelevant on the case cited.
>So it's quite reasonable to
><div id="header">xnot.org</div>
Disputed.
>or indeed
><div id="header"><h1>xnot.org</h1></div>
Better; but why not
<h1 id="header">xnot.org</h1>
>If you look at a more complex potential case it might be more obvious
>why this is useful to web design:
>
><div id="header">
><h1>XNot - Not just your usual X!</h1>
><p class="url" >xnot.org</p>
></div>
>
><div id="body">
><h2>Some Stuff</h2>
>[...]
></div>
Both irrelevant to the case under discussion
--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>
Free Our Data: <http://www.freeourdata.org.uk>
[Back to original message]
|