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>

Hi,
This is a QA Review comment for "XHTML 2.0"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/
2006-07-26
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/"
		xml:lang="en">
	    <title>Minimal XHTML 2.0 Document</title>
	  <section>
	    <h>Minimal XHTML 2.0 Document</h>
	    <p>some text</p>
	  </section>
	</html>

And even better.

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

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:55 GMT