Posted by David Dorward on 07/28/06 23:57
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.
> Having said that, what is that it would make a <div> just that <div>??
I have no idea what you are trying to ask there.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
[Back to original message]
|