- From: Monica Wilkinson <monica.keller@gmail.com>
- Date: Mon, 25 Oct 2010 00:22:21 -0700
- To: public-html-comments@w3.org
- Message-ID: <AANLkTikmkhPx=2Lb3_w6dra5g5+QkvE8j5RzznhNB2YA@mail.gmail.com>
I believe it will be good to consolidate itemscope and itemtype into a single attribute "item" which can either have no value or the type as itemtype does today Some parsers including the current W3C validator, have trouble with with itemscope having no value and since >> The itemtype attribute must not be specified on elements that do not have an itemscope attribute specified. We really don't need both. See this example where I used the Open Graph Vocabulary with Microdata. http://pastie.org/1246677 <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" item="http://ogp.me/ns#Article"> <head> <title>Microdata</title> </head> <body> <img src="http://www.w3.org/Icons/w3c_home" itemprop="image"/> <h1 itemprop="title">Microdata</h1> <p itemprop="description"> A vocabulary and associated APIs for HTML and XHTML. </p> <p>For more details see: <a itemprop="url" href="http://www.w3.org/TR/html5/microdata.html"> http://www.w3.org/TR/html5/microdata.html</a></p> </body> </html>
Received on Thursday, 28 October 2010 12:31:57 UTC