Skip to content

Commit

Permalink
[e] (0) More examples
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16951
Affected topics: Microdata

git-svn-id: http://svn.whatwg.org/webapps@7279 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 27, 2012
1 parent f8e6cc7 commit ca3ad7a
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
22 changes: 22 additions & 0 deletions complete.html
Expand Up @@ -62957,6 +62957,28 @@ <h4 id=the-basic-syntax><span class=secno>5.1.2 </span>The basic syntax</h4>

</div>

<p>Markup without microdata attributes has no effect on
microdata.</p>

<div class=example>

<p>These two examples are exactly equivalent, at a microdata level,
as the previous two examples respectively:</p>

<pre>&lt;div itemscope&gt;
&lt;p&gt;My &lt;em&gt;name&lt;/em&gt; is &lt;span itemprop="name"&gt;E&lt;strong&gt;liz&lt;/strong&gt;abeth&lt;/span&gt;.&lt;/p&gt;
&lt;/div&gt;

&lt;section&gt;
&lt;div itemscope&gt;
&lt;aside&gt;
&lt;p&gt;My name is &lt;span itemprop="name"&gt;&lt;a href="/?user=daniel"&gt;Daniel&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;/aside&gt;
&lt;/div&gt;
&lt;/section&gt;</pre>

</div>

<p>Properties generally have values that are strings.</p>

<div class=example>
Expand Down
22 changes: 22 additions & 0 deletions index
Expand Up @@ -62957,6 +62957,28 @@ Demos:

</div>

<p>Markup without microdata attributes has no effect on
microdata.</p>

<div class=example>

<p>These two examples are exactly equivalent, at a microdata level,
as the previous two examples respectively:</p>

<pre>&lt;div itemscope&gt;
&lt;p&gt;My &lt;em&gt;name&lt;/em&gt; is &lt;span itemprop="name"&gt;E&lt;strong&gt;liz&lt;/strong&gt;abeth&lt;/span&gt;.&lt;/p&gt;
&lt;/div&gt;

&lt;section&gt;
&lt;div itemscope&gt;
&lt;aside&gt;
&lt;p&gt;My name is &lt;span itemprop="name"&gt;&lt;a href="/?user=daniel"&gt;Daniel&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;/aside&gt;
&lt;/div&gt;
&lt;/section&gt;</pre>

</div>

<p>Properties generally have values that are strings.</p>

<div class=example>
Expand Down
22 changes: 22 additions & 0 deletions source
Expand Up @@ -73560,6 +73560,28 @@ Demos:

</div>

<p>Markup without microdata attributes has no effect on
microdata.</p>

<div class="example">

<p>These two examples are exactly equivalent, at a microdata level,
as the previous two examples respectively:</p>

<pre>&lt;div itemscope>
&lt;p>My &lt;em>name&lt;/em> is &lt;span itemprop="name">E&lt;strong>liz&lt;/strong>abeth&lt;/span>.&lt;/p>
&lt;/div>

&lt;section>
&lt;div itemscope>
&lt;aside>
&lt;p>My name is &lt;span itemprop="name">&lt;a href="/?user=daniel">Daniel&lt;/a>&lt;/span>.&lt;/p>
&lt;/aside>
&lt;/div>
&lt;/section></pre>

</div>

<p>Properties generally have values that are strings.</p>

<div class="example">
Expand Down

0 comments on commit ca3ad7a

Please sign in to comment.