W3C home > Mailing lists > Public > www-html@w3.org > May 2005

Re: section heading

From: ACJ <ego@acjs.net>
Date: Sat, 28 May 2005 17:39:30 +0200
Message-ID: <429890B2.9090902@acjs.net>
To: Timothy Callahan <pixelpatterns@gmail.com>
CC: www-html@w3.org
Timothy Callahan wrote:

> Can someone show me a real world example of what types of content can 
> be arranged with <section> and heading <h> elements.
> I'm new to this <h> element.. Should I be doing some more reading of 
> the new draft?

The following markup:

<section>
    <h>...<h>
    <p>...</p>
    <section>
        <h>...</h>
        <p>...</p>
    </section>
</section>

...basically translates to something like:

<div class="section">
    <h1>...</h1>
    <p>...</p>
    <div class="section">
       <h2>...</h2>
       <p>...</p>
    </div>
</div>

The hierarchical value of h depends on its level of nesting.

Received on Saturday, 28 May 2005 15:37:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:04 UTC