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 Jonathan N. Little on 11/18/07 15:07

Toby A Inkster wrote:
> Ben C wrote:
>
>> Even if headings are supposed to be strictly hierarchical, you could
>> still have two top level headings in a document-- just two trees of
>> headings side by side.
>
> Something like...
>
> h1. Cats & Dogs
> h2. Cats
> h3. Siamese cats
> h3. Tabby cats
> h2. Dogs
> h3. Greyhounds
> h3. Beagles
> h1. Fish
> h2. Sharks
> h3. Hammerhead sharks
> h2. Cod
> h2. Sardines
>
> But one could argue that the two h1-level headings should in fact be h2:
>
> h1{display:none}. Good Pets to Keep
> h2. Cats & Dogs
> h3. Cats
> h4. Siamese cats
> h4. Tabby cats
> h3. Dogs
> h4. Greyhounds
> h4. Beagles
> h2. Fish
> h3. Sharks
> h4. Hammerhead sharks
> h3. Cod
> h3. Sardines
>
> That is, there can only be one <title> element for the page, so there
> should only ever be one <h1> element, which should roughly correspond with
> it. (It is often useful to include context information in the title, such
> as the name of the collection of documents to which this document belongs.)
>

I agree with this that there should be only on H1 per page, but the HTML
Gods will not strike you dead if you using more than one (but if you do
it should make logical sense) What I object to is the use of H# to
"style" with. In other words using H# where the text is not a heading
but where the author merely wants bigger bolder text!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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