[html5] r3087 - [t] (0) Rename property='' to itemprop=''.
whatwg at whatwg.org
whatwg at whatwg.org
Mon May 11 16:22:47 PDT 2009
Author: ianh
Date: 2009-05-11 16:22:46 -0700 (Mon, 11 May 2009)
New Revision: 3087
Modified:
index
source
Log:
[t] (0) Rename property='' to itemprop=''.
Modified: index
===================================================================
--- index 2009-05-11 21:42:54 UTC (rev 3086)
+++ index 2009-05-11 23:22:46 UTC (rev 3087)
@@ -676,7 +676,7 @@
<li><a href=#the-microdata-model><span class=secno>5.2.1 </span>The microdata model</a></li>
<li><a href=#items:-the-item-attribute><span class=secno>5.2.2 </span>Items: the <code>item</code> attribute</a></li>
<li><a href=#associating-names-with-items><span class=secno>5.2.3 </span>Associating names with items</a></li>
- <li><a href=#names:-the-property-attribute><span class=secno>5.2.4 </span>Names: the <code>property</code> attribute</a></li>
+ <li><a href=#names:-the-itemprop-attribute><span class=secno>5.2.4 </span>Names: the <code>itemprop</code> attribute</a></li>
<li><a href=#values><span class=secno>5.2.5 </span>Values</a></ol></li>
<li><a href=#microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</a></li>
<li><a href=#converting-html-to-other-formats><span class=secno>5.4 </span>Converting HTML to other formats</a>
@@ -8029,7 +8029,7 @@
// <a href=#microdata>microdata</a>
[PutForwards=<a href=#dom-domsettabletokenlist-value title=dom-DOMSettableTokenList-value>value</a>] readonly attribute <a href=#domsettabletokenlist-0>DOMSettableTokenList</a> <a href=#dom-item title=dom-item>item</a>;
- [PutForwards=<a href=#dom-domsettabletokenlist-value title=dom-DOMSettableTokenList-value>value</a>] readonly attribute <a href=#domsettabletokenlist-0>DOMSettableTokenList</a> <a href=#dom-property title=dom-property>property</a>;
+ [PutForwards=<a href=#dom-domsettabletokenlist-value title=dom-DOMSettableTokenList-value>value</a>] readonly attribute <a href=#domsettabletokenlist-0>DOMSettableTokenList</a> <a href=#dom-itemprop title=dom-itemprop>itemprop</a>;
readonly attribute <a href=#htmlpropertycollection-0>HTMLPropertyCollection</a> <a href=#dom-properties title=dom-properties>properties</a>;
attribute DOMString <a href=#dom-content title=dom-content>content</a>;
attribute <a href=#htmlelement>HTMLElement</a> <a href=#dom-subject title=dom-subject>subject</a>;
@@ -8142,7 +8142,7 @@
<li><code title=attr-item><a href=#items:-the-item-attribute>item</a></code></li>
<li><code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code></li>
<li><code title=attr-lang><a href=#the-lang-and-xml:lang-attributes>lang</a></code></li>
- <li><code title=attr-property><a href=#names:-the-property-attribute>property</a></code></li>
+ <li><code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code></li>
<li><code title=attr-spellcheck><a href=#attr-spellcheck>spellcheck</a></code></li>
<li><code title=attr-style><a href=#the-style-attribute>style</a></code></li>
<li><code title=attr-subject><a href=#attr-subject>subject</a></code></li>
@@ -10236,11 +10236,11 @@
<dl class=element><dt>Categories</dt>
<dd><a href=#metadata-content-0>Metadata content</a>.</dd>
- <dd>If the <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute is present: <a href=#flow-content-0>flow content</a>.</dd>
+ <dd>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is present: <a href=#flow-content-0>flow content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#metadata-content-0>metadata content</a> is expected.</dd>
<dd>In a <code><a href=#the-noscript-element>noscript</a></code> element that is a child of a <code><a href=#the-head-element>head</a></code> element.</dd>
- <dd>If the <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute is present: where <a href=#flow-content-0>flow content</a> is expected.</dd>
+ <dd>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is present: where <a href=#flow-content-0>flow content</a> is expected.</dd>
<dt>Content model:</dt>
<dd>Empty.</dd>
<dt>Content attributes:</dt>
@@ -10549,13 +10549,13 @@
<dl class=element><dt>Categories</dt>
<dd><a href=#metadata-content-0>Metadata content</a>.</dd>
- <dd>If the <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute is present: <a href=#flow-content-0>flow content</a>.</dd>
+ <dd>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is present: <a href=#flow-content-0>flow content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>If the <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute is present, or if the element is in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration state</a>: in a <code><a href=#the-head-element>head</a></code> element.</dd>
<dd>If the <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute is present, and the element is not in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration state</a>: in a <code><a href=#the-head-element>head</a></code> element.</dd>
<dd>If the <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute is present, and the element is not in the <a href=#attr-meta-http-equiv-content-type title=attr-meta-http-equiv-content-type>Encoding declaration state</a>: in a <code><a href=#the-noscript-element>noscript</a></code> element that is a child of a <code><a href=#the-head-element>head</a></code> element.</dd>
<dd>If the <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute is present: where <a href=#metadata-content-0>metadata content</a> is expected.</dd>
- <dd>If the <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute is present: where <a href=#flow-content-0>flow content</a> is expected.</dd>
+ <dd>If the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute is present: where <a href=#flow-content-0>flow content</a> is expected.</dd>
<dt>Content model:</dt>
<dd>Empty.</dd>
<dt>Content attributes:</dt>
@@ -10584,10 +10584,10 @@
the network or for disk storage) with the <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute.</p>
<p>Exactly one of the <code title=attr-meta-name><a href=#attr-meta-name>name</a></code>,
- <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code>, <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code>, and <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attributes must be
+ <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code>, <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code>, and <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attributes must be
specified.</p>
- <p>If either <code title=attr-meta-name><a href=#attr-meta-name>name</a></code>, <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code>, or <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> is specified, then the <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute must also be
+ <p>If either <code title=attr-meta-name><a href=#attr-meta-name>name</a></code>, <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code>, or <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> is specified, then the <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute must also be
specified. Otherwise, it must be omitted.</p>
<p>The <dfn id=attr-meta-charset title=attr-meta-charset><code>charset</code></dfn>
@@ -40618,11 +40618,11 @@
<p>Here there are two items, each of which have the property "name":</p>
<pre><div item>
- <p>My name is <span property="name">Elizabeth</span>.</p>
+ <p>My name is <span itemprop="name">Elizabeth</span>.</p>
</div>
<div item>
- <p>My name is <span property="name">Daniel</span>.</p>
+ <p>My name is <span itemprop="name">Daniel</span>.</p>
</div></pre>
</div>
@@ -40634,9 +40634,9 @@
<p>Here the item has three properties:</p>
<pre><div item>
- <p>My name is <span property="name">Neil</span>.</p>
- <p>My band is called <span property="band">Four Parts Water</span>.</p>
- <p>I am <span property="nationality">British</span>.</p>
+ <p>My name is <span itemprop="name">Neil</span>.</p>
+ <p>My band is called <span itemprop="band">Four Parts Water</span>.</p>
+ <p>I am <span itemprop="nationality">British</span>.</p>
</div></pre>
</div>
@@ -40651,7 +40651,7 @@
<p>In this example, the item has one property, "image", whose value is a URL:</p>
<pre><div item>
- <img property="image" src="google-logo.png" alt="Google">
+ <img itemprop="image" src="google-logo.png" alt="Google">
</div></pre>
</div>
@@ -40666,7 +40666,7 @@
value is a date:</p>
<pre><div item>
- I was born on <time property="birthday" datetime="2009-05-10">May 10th 2009</time>.
+ I was born on <time itemprop="birthday" datetime="2009-05-10">May 10th 2009</time>.
</div></pre>
</div>
@@ -40684,8 +40684,8 @@
inner one represents a band:</p>
<pre><div item>
- <p>Name: <span property="name">Amanda</span></p>
- <p>Band: <span property="band" item> <span property="name">Jazz Band</span> (<span property="size">12</span> players)</span></p>
+ <p>Name: <span itemprop="name">Amanda</span></p>
+ <p>Band: <span itemprop="band" item> <span itemprop="name">Jazz Band</span> (<span itemprop="size">12</span> players)</span></p>
</div></pre>
<p>The outer item here has two properties, "name" and "band". The
@@ -40710,10 +40710,10 @@
properties are separated from their <a href=#concept-item title=concept-item>items</a>:</p>
<pre><div item id="amanda"></div>
-<p>Name: <span subject="amanda" property="name">Amanda</span></p>
-<div subject="amanda" property="band" item id="jazzband"></div>
-<p>Band: <span subject="jazzband" property="name">Jazz Band</span></p>
-<p>Size: <span subject="jazzband" property="size">12</span> players</p></pre>
+<p>Name: <span subject="amanda" itemprop="name">Amanda</span></p>
+<div subject="amanda" itemprop="band" item id="jazzband"></div>
+<p>Band: <span subject="jazzband" itemprop="name">Jazz Band</span></p>
+<p>Size: <span subject="jazzband" itemprop="size">12</span> players</p></pre>
<p>This gives the same result as the previous example. The first
item has two properties, "name", set to "Amanda", and "band", set
@@ -40732,8 +40732,8 @@
<pre><div item>
<p>Flavors in my favorite ice cream:</p>
<ul>
- <li property="flavor">Lemon sorbet</li>
- <li property="flavor">Apricot sorbet</li>
+ <li itemprop="flavor">Lemon sorbet</li>
+ <li itemprop="flavor">Apricot sorbet</li>
</ul>
</div></pre>
@@ -40752,7 +40752,7 @@
"favorite-fruit", both set to the value "orange":</p>
<pre><div item>
- <span property="favorite-color favorite-fruit">orange</span>
+ <span itemprop="favorite-color favorite-fruit">orange</span>
</div></pre>
</div>
@@ -40797,10 +40797,10 @@
<p>Here, the item is "org.example.animals.cat":</p>
<pre><section item="org.example.animal.cat">
- <h1 property="org.example.name">Hedral</h1>
- <p property="org.example.desc">Hedral is a male american domestic
+ <h1 itemprop="org.example.name">Hedral</h1>
+ <p itemprop="org.example.desc">Hedral is a male american domestic
shorthair, with a fluffy black fur with white paws and belly.</p>
- <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
<p>In this example the "org.example.animals.cat" item has three
@@ -40817,12 +40817,12 @@
<p>Here, the item is both an "org.example.animals.cat" and a "com.example.feline":</p>
<pre><section item="org.example.animal.cat com.example.feline">
- <h1 property="org.example.name com.example.fn">Hedral</h1>
- <p property="org.example.desc">Hedral is a male american domestic
+ <h1 itemprop="org.example.name com.example.fn">Hedral</h1>
+ <p itemprop="org.example.desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- property="com.example.color">black</span> fur with <span
- property="com.example.color">white</span> paws and belly.</p>
- <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ itemprop="com.example.color">black</span> fur with <span
+ itemprop="com.example.color">white</span> paws and belly.</p>
+ <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
<p>This example has one item with two types and the following
@@ -40992,12 +40992,12 @@
<p>If faced with the following from an earlier example:</p>
<pre><section item="org.example.animal.cat com.example.feline">
- <h1 property="org.example.name com.example.fn">Hedral</h1>
- <p property="org.example.desc">Hedral is a male american domestic
+ <h1 itemprop="org.example.name com.example.fn">Hedral</h1>
+ <p itemprop="org.example.desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- property="com.example.color">black</span> fur with <span
- property="com.example.color">white</span> paws and belly.</p>
- <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ itemprop="com.example.color">black</span> fur with <span
+ itemprop="com.example.color">white</span> paws and belly.</p>
+ <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
<p>...it would result in the following output:</p>
@@ -41100,18 +41100,18 @@
the list of <dfn id=top-level-microdata-items>top-level microdata items</dfn>.</p>
- <h4 id=names:-the-property-attribute><span class=secno>5.2.4 </span>Names: the <dfn title=attr-property><code>property</code></dfn> attribute</h4>
+ <h4 id=names:-the-itemprop-attribute><span class=secno>5.2.4 </span>Names: the <dfn title=attr-itemprop><code>itemprop</code></dfn> attribute</h4>
<p>Every <a href=#html-elements title="HTML elements">HTML element</a> that has a
<a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a>
- may have a <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute
+ may have a <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute
specified.</p>
- <p>An element with the <code title=attr-property><a href=#names:-the-property-attribute>property</a></code>
+ <p>An element with the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code>
attribute specified adds one or more name-value pairs to its
<a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a>.</p>
- <p>The <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute, if
+ <p>The <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute, if
specified, must have a value that is an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of
unique space-separated tokens</a> representing the names of the
name-value pairs that it adds. The attribute's value must have at
@@ -41136,7 +41136,7 @@
<span>predefined type</span>.</li>
-->
</ul><p>The <dfn id=property-names>property names</dfn> of an element are the tokens that
- the element's <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute
+ the element's <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute
is found to contain when its value is <a href=#split-a-string-on-spaces title="split a string on
spaces">split on spaces</a>, with the order preserved but with
duplicates removed (leaving only the first occurrence of each
@@ -41146,7 +41146,7 @@
<h4 id=values><span class=secno>5.2.5 </span>Values</h4>
<p>The <dfn id=concept-property-value title=concept-property-value>property value</dfn> of a
- name-value pair added by an element with a <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> attribute depends on the
+ name-value pair added by an element with a <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute depends on the
element, as follows:</p>
<dl><dt>If the element also has an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code>
@@ -41215,7 +41215,7 @@
</dd>
- <dt><var title="">element</var> . <code title=dom-property><a href=#dom-property>properties</a></code></dt>
+ <dt><var title="">element</var> . <code title=dom-properties><a href=#dom-properties>properties</a></code></dt>
<dd>
@@ -41246,8 +41246,8 @@
<p>The <dfn id=dom-item title=dom-item><code>item</code></dfn> DOM attribute
on elements must <a href=#reflect>reflect</a> the element's <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> content attribute.</p>
- <p>The <dfn id=dom-property title=dom-property><code>property</code></dfn> DOM
- attribute on elements must <a href=#reflect>reflect</a> the element's <code title=attr-property><a href=#names:-the-property-attribute>property</a></code> content attribute.</p>
+ <p>The <dfn id=dom-itemprop title=dom-itemprop><code>itemprop</code></dfn> DOM
+ attribute on elements must <a href=#reflect>reflect</a> the element's <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> content attribute.</p>
<p>The <dfn id=dom-properties title=dom-properties><code>properties</code></dfn> DOM
attribute on elements must return an
Modified: source
===================================================================
--- source 2009-05-11 21:42:54 UTC (rev 3086)
+++ source 2009-05-11 23:22:46 UTC (rev 3087)
@@ -8262,7 +8262,7 @@
// <span>microdata</span>
[PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-item">item</span>;
- [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-property">property</span>;
+ [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemprop">itemprop</span>;
readonly attribute <span>HTMLPropertyCollection</span> <span title="dom-properties">properties</span>;
attribute DOMString <span title="dom-content">content</span>;
attribute <span>HTMLElement</span> <span title="dom-subject">subject</span>;
@@ -8376,7 +8376,7 @@
<li><code title="attr-item">item</code></li>
<li><code title="attr-hidden">hidden</code></li>
<li><code title="attr-lang">lang</code></li>
- <li><code title="attr-property">property</code></li>
+ <li><code title="attr-itemprop">itemprop</code></li>
<li><code title="attr-spellcheck">spellcheck</code></li>
<li><code title="attr-style">style</code></li>
<li><code title="attr-subject">subject</code></li>
@@ -10731,11 +10731,11 @@
<dl class="element">
<dt>Categories</dt>
<dd><span>Metadata content</span>.</dd>
- <dd>If the <code title="attr-property">property</code> attribute is present: <span>flow content</span>.</dd>
+ <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: <span>flow content</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>metadata content</span> is expected.</dd>
<dd>In a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
- <dd>If the <code title="attr-property">property</code> attribute is present: where <span>flow content</span> is expected.</dd>
+ <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: where <span>flow content</span> is expected.</dd>
<dt>Content model:</dt>
<dd>Empty.</dd>
<dt>Content attributes:</dt>
@@ -11091,13 +11091,13 @@
<dl class="element">
<dt>Categories</dt>
<dd><span>Metadata content</span>.</dd>
- <dd>If the <code title="attr-property">property</code> attribute is present: <span>flow content</span>.</dd>
+ <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: <span>flow content</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>If the <code title="attr-meta-charset">charset</code> attribute is present, or if the element is in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>head</code> element.</dd>
<dd>If the <code title="attr-meta-http-equiv">http-equiv</code> attribute is present, and the element is not in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>head</code> element.</dd>
<dd>If the <code title="attr-meta-http-equiv">http-equiv</code> attribute is present, and the element is not in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
<dd>If the <code title="attr-meta-name">name</code> attribute is present: where <span>metadata content</span> is expected.</dd>
- <dd>If the <code title="attr-property">property</code> attribute is present: where <span>flow content</span> is expected.</dd>
+ <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: where <span>flow content</span> is expected.</dd>
<dt>Content model:</dt>
<dd>Empty.</dd>
<dt>Content attributes:</dt>
@@ -11132,12 +11132,12 @@
<p>Exactly one of the <code title="attr-meta-name">name</code>,
<code title="attr-meta-http-equiv">http-equiv</code>, <code
title="attr-meta-charset">charset</code>, and <code
- title="attr-property">property</code> attributes must be
+ title="attr-itemprop">itemprop</code> attributes must be
specified.</p>
<p>If either <code title="attr-meta-name">name</code>, <code
title="attr-meta-http-equiv">http-equiv</code>, or <code
- title="attr-property">property</code> is specified, then the <code
+ title="attr-itemprop">itemprop</code> is specified, then the <code
title="attr-meta-content">content</code> attribute must also be
specified. Otherwise, it must be omitted.</p>
@@ -45832,11 +45832,11 @@
<p>Here there are two items, each of which have the property "name":</p>
<pre><div item>
- <p>My name is <span property="name">Elizabeth</span>.</p>
+ <p>My name is <span itemprop="name">Elizabeth</span>.</p>
</div>
<div item>
- <p>My name is <span property="name">Daniel</span>.</p>
+ <p>My name is <span itemprop="name">Daniel</span>.</p>
</div></pre>
</div>
@@ -45848,9 +45848,9 @@
<p>Here the item has three properties:</p>
<pre><div item>
- <p>My name is <span property="name">Neil</span>.</p>
- <p>My band is called <span property="band">Four Parts Water</span>.</p>
- <p>I am <span property="nationality">British</span>.</p>
+ <p>My name is <span itemprop="name">Neil</span>.</p>
+ <p>My band is called <span itemprop="band">Four Parts Water</span>.</p>
+ <p>I am <span itemprop="nationality">British</span>.</p>
</div></pre>
</div>
@@ -45867,7 +45867,7 @@
<p>In this example, the item has one property, "image", whose value is a URL:</p>
<pre><div item>
- <img property="image" src="google-logo.png" alt="Google">
+ <img itemprop="image" src="google-logo.png" alt="Google">
</div></pre>
</div>
@@ -45882,7 +45882,7 @@
value is a date:</p>
<pre><div item>
- I was born on <time property="birthday" datetime="2009-05-10">May 10th 2009</time>.
+ I was born on <time itemprop="birthday" datetime="2009-05-10">May 10th 2009</time>.
</div></pre>
</div>
@@ -45900,8 +45900,8 @@
inner one represents a band:</p>
<pre><div item>
- <p>Name: <span property="name">Amanda</span></p>
- <p>Band: <span property="band" item> <span property="name">Jazz Band</span> (<span property="size">12</span> players)</span></p>
+ <p>Name: <span itemprop="name">Amanda</span></p>
+ <p>Band: <span itemprop="band" item> <span itemprop="name">Jazz Band</span> (<span itemprop="size">12</span> players)</span></p>
</div></pre>
<p>The outer item here has two properties, "name" and "band". The
@@ -45928,10 +45928,10 @@
title="concept-item">items</span>:</p>
<pre><div item id="amanda"></div>
-<p>Name: <span subject="amanda" property="name">Amanda</span></p>
-<div subject="amanda" property="band" item id="jazzband"></div>
-<p>Band: <span subject="jazzband" property="name">Jazz Band</span></p>
-<p>Size: <span subject="jazzband" property="size">12</span> players</p></pre>
+<p>Name: <span subject="amanda" itemprop="name">Amanda</span></p>
+<div subject="amanda" itemprop="band" item id="jazzband"></div>
+<p>Band: <span subject="jazzband" itemprop="name">Jazz Band</span></p>
+<p>Size: <span subject="jazzband" itemprop="size">12</span> players</p></pre>
<p>This gives the same result as the previous example. The first
item has two properties, "name", set to "Amanda", and "band", set
@@ -45950,8 +45950,8 @@
<pre><div item>
<p>Flavors in my favorite ice cream:</p>
<ul>
- <li property="flavor">Lemon sorbet</li>
- <li property="flavor">Apricot sorbet</li>
+ <li itemprop="flavor">Lemon sorbet</li>
+ <li itemprop="flavor">Apricot sorbet</li>
</ul>
</div></pre>
@@ -45970,7 +45970,7 @@
"favorite-fruit", both set to the value "orange":</p>
<pre><div item>
- <span property="favorite-color favorite-fruit">orange</span>
+ <span itemprop="favorite-color favorite-fruit">orange</span>
</div></pre>
</div>
@@ -46021,10 +46021,10 @@
<p>Here, the item is "org.example.animals.cat":</p>
<pre><section item="org.example.animal.cat">
- <h1 property="org.example.name">Hedral</h1>
- <p property="org.example.desc">Hedral is a male american domestic
+ <h1 itemprop="org.example.name">Hedral</h1>
+ <p itemprop="org.example.desc">Hedral is a male american domestic
shorthair, with a fluffy black fur with white paws and belly.</p>
- <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
<p>In this example the "org.example.animals.cat" item has three
@@ -46041,12 +46041,12 @@
<p>Here, the item is both an "org.example.animals.cat" and a "com.example.feline":</p>
<pre><section item="org.example.animal.cat com.example.feline">
- <h1 property="org.example.name com.example.fn">Hedral</h1>
- <p property="org.example.desc">Hedral is a male american domestic
+ <h1 itemprop="org.example.name com.example.fn">Hedral</h1>
+ <p itemprop="org.example.desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- property="com.example.color">black</span> fur with <span
- property="com.example.color">white</span> paws and belly.</p>
- <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ itemprop="com.example.color">black</span> fur with <span
+ itemprop="com.example.color">white</span> paws and belly.</p>
+ <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
<p>This example has one item with two types and the following
@@ -46238,12 +46238,12 @@
<p>If faced with the following from an earlier example:</p>
<pre><section item="org.example.animal.cat com.example.feline">
- <h1 property="org.example.name com.example.fn">Hedral</h1>
- <p property="org.example.desc">Hedral is a male american domestic
+ <h1 itemprop="org.example.name com.example.fn">Hedral</h1>
+ <p itemprop="org.example.desc">Hedral is a male american domestic
shorthair, with a fluffy <span
- property="com.example.color">black</span> fur with <span
- property="com.example.color">white</span> paws and belly.</p>
- <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ itemprop="com.example.color">black</span> fur with <span
+ itemprop="com.example.color">white</span> paws and belly.</p>
+ <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
</section></pre>
<p>...it would result in the following output:</p>
@@ -46375,18 +46375,18 @@
the list of <dfn>top-level microdata items</dfn>.</p>
- <h4>Names: the <dfn title="attr-property"><code>property</code></dfn> attribute</h4>
+ <h4>Names: the <dfn title="attr-itemprop"><code>itemprop</code></dfn> attribute</h4>
<p>Every <span title="HTML elements">HTML element</span> that has a
<span title="concept-item-corresponding">corresponding item</span>
- may have a <code title="attr-property">property</code> attribute
+ may have a <code title="attr-itemprop">itemprop</code> attribute
specified.</p>
- <p>An element with the <code title="attr-property">property</code>
+ <p>An element with the <code title="attr-itemprop">itemprop</code>
attribute specified adds one or more name-value pairs to its
<span title="concept-item-corresponding">corresponding item</span>.</p>
- <p>The <code title="attr-property">property</code> attribute, if
+ <p>The <code title="attr-itemprop">itemprop</code> attribute, if
specified, must have a value that is an <span>unordered set of
unique space-separated tokens</span> representing the names of the
name-value pairs that it adds. The attribute's value must have at
@@ -46415,7 +46415,7 @@
</ul>
<p>The <dfn>property names</dfn> of an element are the tokens that
- the element's <code title="attr-property">property</code> attribute
+ the element's <code title="attr-itemprop">itemprop</code> attribute
is found to contain when its value is <span title="split a string on
spaces">split on spaces</span>, with the order preserved but with
duplicates removed (leaving only the first occurrence of each
@@ -46426,7 +46426,7 @@
<p>The <dfn title="concept-property-value">property value</dfn> of a
name-value pair added by an element with a <code
- title="attr-property">property</code> attribute depends on the
+ title="attr-itemprop">itemprop</code> attribute depends on the
element, as follows:</p>
<dl>
@@ -46506,7 +46506,7 @@
</dd>
- <dt><var title="">element</var> . <code title="dom-property">properties</code></dt>
+ <dt><var title="">element</var> . <code title="dom-properties">properties</code></dt>
<dd>
@@ -46543,9 +46543,9 @@
on elements must <span>reflect</span> the element's <code
title="attr-item">item</code> content attribute.</p>
- <p>The <dfn title="dom-property"><code>property</code></dfn> DOM
+ <p>The <dfn title="dom-itemprop"><code>itemprop</code></dfn> DOM
attribute on elements must <span>reflect</span> the element's <code
- title="attr-property">property</code> content attribute.</p>
+ title="attr-itemprop">itemprop</code> content attribute.</p>
<p>The <dfn title="dom-properties"><code>properties</code></dfn> DOM
attribute on elements must return an
More information about the Commit-Watchers
mailing list