Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: [XHTML2] How are UAs to interpret <h> and <hx> elements?

From: David Woolley <david@djwhome.demon.co.uk>
Date: Mon, 13 Jun 2005 07:33:18 +0100 (BST)
Message-Id: <200506130633.j5D6XJQ06454@djwhome.demon.co.uk>
To: www-html@w3.org

> If that's the case, should <h> be required to be the first child of 
> <section>?  If it's not the first child, is it still the heading for any 

I presume that has been done as a concession to semi-presentational
use, such as putting navigation menus before the heading.

> 
> <section>
>    <h id="logo" src="...">The World Wide Web Consortium (W3C)</h>
>    <h id="slogan">Leading the Web to Its Full Potential...</h>

If you did this as Hn, it would be interpreted by user agents that
attempt to model the heading structure as an empty section, followed
by a section entitled "Leading...".  Sub-headings have always been
something of a problem, and are one of the cases where <br> has
traditionally been used.

> <section>
>    <h1 id="logo" src="...">The World Wide Web Consortium (W3C)</h1>
>    <h2 id="slogan">Leading the Web to Its Full Potential...</h2>

No.  That has traditionally, from before HTML, been treated as 
a subsection.

>    <h id="logo" src="...">The World Wide Web Consortium (W3C)</h>
>    <p id="slogan">Leading the Web to Its Full Potential...</p>

The sub-heading isn't body text.
Received on Monday, 13 June 2005 07:19:55 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.