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

[xhtml2] meta element in Metadata module

From: <karl@w3.org>
Date: Thu, 17 Aug 2006 03:28:17 -0000
To: www-html-editor@w3.org
Message-Id: <20060817032823.14A504F5A0@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-meta.html

The meta element is more useful when accessible in the body of the document. Again remove the structure html/head/body. 
The stylesheet being 

	head, style, link, meta  { display: none }
	
The rationale for this is the example given in the specification:

	"<meta property="keywords" 
      xml:lang="en-us">vacation, Greece, sunshine</meta>""

This could be done directly in the content of the document at the right position For example

  <div class="news">
	<div class="newsitem">
    <h property="title">Love is the new consensus </h>
    <p>Sharing love has been decided to achieving 
	   consensus in international organization.</p>
	<meta property="keywords" 
	  xml:lang="en-us">love, w3c</meta>
	</div>
   </div>

It will not show up in the body but for the author easier to adapt, for the search engine easier to index locally, easier to create an XSLT which will generate an RSS/Atom feed with appropriate keywords.
If the author wants to make them visible too, a simple p instead of meta.

	<p property="keywords" 
	  xml:lang="en-us">love, w3c</p>

- What is the benefits of keeping meta in head elements?
- What is the meaning of "Embedding, Events, Forms" attribute module on an element which is not supposed to be rendered?




-- 
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:28:46 GMT

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