- From: Jonathan Worent <jworent@yahoo.com>
- Date: Sun, 6 Aug 2006 18:12:40 -0700 (PDT)
- To: Frank Hellenkamp <jonas.info@gmx.net>
- Cc: HTML Mailing List <www-html@w3.org>
--- Frank Hellenkamp <jonas.info@gmx.net> wrote: > > (b) Furthermore I would demand for a restriction > > that allows only one <h> per <section>. This > > is not forbidden currently. But I consider it > > necessarry to avoid structures like: > > > > <section> > > <h>The heading</h> > > <h>Another heading - but wherefore?</h> > > <p>...</p> > > <h>And once again.</h> > > </section> > > > > > > What do you think thereof? > > what about subheadlines? > the spec says to use <h> with the structural <section> element *or* use > the numbered version <h1> to <h6>. > > what about something like that: > > <section> > <h1>headline 1</h1> > <h2>subheadline</h2> > <p>...</p> > <section> > <h1>headline 1.1</h1> > <h2>subheadline</h2> > <p>...</p> > </section> > </section> > > <h1> and <h2> would be tied together but use a different style. > I like how WHAT WG [www.whatwg.org] defines the heading structure for Web Applications 1.0 (html5) [http://www.whatwg.org/specs/web-apps/current-work/#headings1]. "The first heading in a sectioning element gives the header for that section. Subsequent headers of equal or higher rank start new (implied) sections, headers of lower rank start subsections that are part of the previous one." This doesn't translate perfectly for the XHTML2 heading structure (they retain h1-h6 and make it fit into heading/section structure instead of just h), but I think something similar might be appropriate. I still think providing an outline the markup creates would help clearify things. > > best regards, > > frank hellenkamp > > -- > frank hellenkamp | interface designer > jonas.info@gmx.net | mail > +49.30.49 78 20 70 | tel > +49.173.70 55 781 | mbl > +49.12120.243 912 | fax > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Received on Monday, 7 August 2006 01:12:45 UTC