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 dorayme on 11/18/07 19:23

In article <4812a$47405512$40cba7a3$21291@NAXS.COM>,
"Jonathan N. Little" <lws4art@centralva.net> wrote:

> 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.
> >
<example of two h1 trees...>
> > 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!

Yes, to use it to get the font-size you want for a bit of text is
altogther wrong. But back to the question of the headings as
logical structure, it depends on the material in the page whether
you argue one way or another, to stick to 'only one h1 per page'
is a policy decision that is good for the most part. There is the
question whether it is always needed to use an h1, it could be
implied by the context, it may not need to be stated, the page
goes straight to h2s and down for different strands under the
unstated h1. (I think that possibility is what Toby was implying
by his h1 {display: none}".

On the other hand, it could be that his example is a little too
favourable to the "only one h1 per page" policy. You can be
struck by the reference of the page itself to guide you, in which
you will always find an h1 (stated or implied) or you can be
guided by the material under the heading, and you want a really
meaningful heading for it, no less than an h1 doing it justice.

--
dorayme

 

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

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