W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2006

[xhtml2] html/head/body and Document module

From: <karl@w3.org>
Date: Thu, 17 Aug 2006 03:27:46 -0000
To: www-html-editor@w3.org
Message-Id: <20060817032752.509F84F571@homer.w3.org>

This is a QA Review comment for "XHTML 2.0"
8th WD

About http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-document.html

(or the coin-coin proposal)

Is there a need to keep the head/body structure of an XHTML 1.0 document in XHTML 2.0. Why not simply doing 

	<html xmlns="http://www.w3.org/2002/06/xhtml2/"
	    <title>Minimal XHTML 2.0 Document</title>
	    <h>Minimal XHTML 2.0 Document</h>
	    <p>some text</p>

And even better.

	<html xmlns="http://www.w3.org/2002/06/xhtml2/"
	    <p property="title">Minimal XHTML 2.0 Document</p>
	    <p>some text</p>

There has been discussions for years on web developers, designers, web teaching mailing lists about title/h1 elements. What should be in title? What should be in h1? Often repeating twice the information once in title and once in h1. it can be mandatory in the same way it is already for title.

	"Every XHTML document must have a title element 
	in the head section."

The WG opens the door to it

	"The title of a document is metadata about the document, 
	and so a title like <title>About W3C</title> is equivalent 
	to <meta about="" property="title">About W3C</meta>."

It would be a lot easier to manage, update, etc if user agents were using the top heading of the document as the title for bookmarking, referencing, indexing. That would be more usable. Specifically in the era, where we consider that meta data are part of the content.

And if one really doesn't want display the title in the page, one can use a CSS property set to display none. Another solution could be a rel attribute saying it's the title for bookmark. Many possibilities which can make the life of authors practical.

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Thursday, 17 August 2006 03:29:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:55 UTC