You are here: Re: Semantics & <h1>, <h2>, etc « HTML « IT news, forums, messages
Re: Semantics & <h1>, <h2>, etc

Posted by David Woods on 08/10/06 01:17

"Spartanicus" <invalid@invalid.invalid> wrote in message
news:j1cfd2ph1ueitugs6mugac6lv465v140n5@4ax.com...
> "David Woods" <feed_sheepREMOVETHIS@sbcglobal.net> wrote:
>
>>I appreciate the many discussions about marking up a page semantically. I
>>don't mean to rehash old arguments/discussions, but I am a little confused
>>as to the proper way to handle headers.
>>
>>In the web pages I have created I typically put a div stretching across
>>the
>>screen in which I put a logo, the title of the organization, and possibly
>>other pictures, slogans, etc. In the main content div, I typically will
>>put
>>a unique header for that page followed by paragraphs, etc.
>>
>>What should be marked up as <h1></h1>? The title of the organization in
>>the
>>header/banner div? Or, the first header in the main content div?
>
> On the home page you should typically mark up the name of the
> organisation as the h1 content and the title. On other pages on the same
> site the topic of that page should be marked up as the h1 content.
>
> So the home page of Widgets Inc would have <h1>Widgets Inc</h1> on the
> home page, and <h1>About Us</h1> on the "about" page, with "About Us -
> Widgets Inc" as the title.


Just wanted to say thanks to everyone for the thoughts and help. My
confusion is that *I* would think that most web pages on a site that
describe different aspects or sections of that organization should somehow
in that page be noted as belonging to the site. Consider <h1>About
Us</h1> - about whom? But it appears that HTML does not really have such a
way to "brand" the page, other than a <div id="header"> with the
organization logo/name/etc in it. Or is there?

Anyway, I finally found http://www.simplebits.com/bits/simplequiz/ which
addresses the same issue. Most comments on the article agree with what has
been said here - and I've decided it makes the most sense to use a
banner/header type div with the "pretty", supposed-to-be-distinctive web
site look and then use <h1> to identify the individual pages.

--

David

 

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

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