On 18/08/10 17:51, tee wrote:

This example doesn't look very semantic to me :-) Is there a tag that can 
replace or substitute the use of headings?

If you properly nest your <section> and <article> elements then you can use just <h1> everywhere:

<section>
  <h1>Monday</h1>
  <article>
    <h1>First post</h1>
    <p>...
  </article>
  <article>
    <h1>Second post</h1>
    <p>...
  </article>
</section>
<section>
  <h1>Tuesday</h1>
  <article>
    <h1>First post...

The weight of each heading is then determined by the outlining algorithm:

http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#outlines

So the section or article elements could be taken out of context and displayed elsewhere but retain their <h1> headings. Is this what you meant?

There was some discussion about replacing h1-6 with, simply, <h> and letting the outline algorithm determine the weight, but this was eventually dropped for backwards compatibility reasons.

Rob


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to