|
Posted by Nije Nego on 08/10/06 18:03
On Wed, 9 Aug 2006 18:41:35 -0400, Chris F.A. Johnson wrote:
> On 2006-08-09, Nije Nego wrote:
>> On Wed, 9 Aug 2006 16:13:00 -0400, Chris F.A. Johnson wrote:
>>
>>>>> When there is more to the header than just the title text (which
>>>>> should be <h1>), it makes sense to wrap it in <div id="header"></div>.
>>>>
>>>> I find class, tag, ID and span enough to do pretty much anything with <hx>.
>>>
>>> If you use class, tag, ID and span without h1, you are not creating
>>> a well-structured document.
>>>
>>> If you use any of them with the only an h1 element inside, they are
>>> unnecessary.
>>
>> When there is more to the header than just the text?
>
> When there is an image, or when there is a subheading or whatever
> in the header div.
>
> If there's nothing but the text, all that's needed is an <h1>
> element. If there's more, then it should be included in a <div> and
> the main headline in <h1>.
H1 is usually placed inside the header (or simillary named) div(s). I do it
as well.
Semantically - all that is needed is a <h1> element. Everything else is
presentation - hence not needed. >ou got he point there.
But I tend to disagree with the statement that <hx> should not have id,
class or span, and that you should put it in div if there is more than text
to it.
--
buy, bought, bye
Navigation:
[Reply to this message]
|