You are here: Re: CSS White Space - margin and padding question « HTML « IT news, forums, messages
Re: CSS White Space - margin and padding question

Posted by Ben C on 11/19/07 14:40

On 2007-11-19, Andy Dingley <dingbat@codesmiths.com> wrote:
> On 17 Nov, 09:43, Ben C <spams...@spam.eggs> wrote:
>
>> Even if headings are supposed to be strictly hierarchical, you could
>> still have two top level headings in a document
>
> I've not checked this in the standard, but I don't believe so.
>
> Under W3C HTML (the only real sort) there's no restriction on
> hierarchy or ordering of <h*> at all. Do whatever you like.
>
> Under the bizarre aberrant ISO HTML (which I intend to ignore rather
> than dissecting), the require both strict hierarchies _and_ a single
><h1> as a root.

Are you sure? From https://www.cs.tcd.ie/15445/15445.html#DTD:

<!ELEMENT BODY - O (%block;|H1|H2|H3|H4|H5|H6)+ +(DEL|INS) >

Doesn't that mean the BODY must contain one _or more_ of a block or a
H#?

So

<body>
<h1></h1>
<h1></h1>
</body>

would be valid.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация