Posted by Luigi Donatello Asero on 07/29/06 00:09
"David Dorward" <dorward@yahoo.com> skrev i meddelandet
news:eae8g9$6cv$1$8302bc10@news.demon.co.uk...
> Luigi Donatello Asero wrote:
>
> >> Headings are block level elements and may be child elements of the
body.
>
> > Yes, but why do you not have a look at these examples?
> > http://www.w3.org/TR/html401/struct/global.html#h-7.5.5
>
> Yes? You can mark up sections of a document using div elements. It can be
> useful to do so under some circumstances. It isn't required, and there is
> no mention of "SHOULD" there.
>
> >> The traditional method of identifying where one paragraph ends and
> >> another begins on the WWW is through margins.
>
> > Every <div> should have an "id" or at least a "class".
>
> No. Only add markup if it is going to be useful. Giving an element an id
or
> class just because you are adding an element is wasteful.
So, do you mean that W3 does not recommend to use a <div> for each heading ?
Headings are useful because they give an overview for the readers
and can be read by text browsers and robots as well
--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
Write in peace for peace
Navigation:
[Reply to this message]
|