@@ -15648,10 +15648,10 @@ interface <dfn>HTMLBodyElement</dfn> : <span>HTMLElement</span> {};
15648
15648
<header>
15649
15649
<h1 itemprop="headline">My Day at the Beach</h1>
15650
15650
</header>
15651
- <main itemprop="articleBody">
15651
+ <div itemprop="articleBody">
15652
15652
<p>Today I went to the beach and had a lot of fun.</p>
15653
15653
<em>...more content...</em>
15654
- </main >
15654
+ </div >
15655
15655
<footer>
15656
15656
<p>Posted <time itemprop="datePublished" datetime="2009-10-10">Thursday</time>.</p>
15657
15657
</footer>
@@ -15669,10 +15669,6 @@ interface <dfn>HTMLBodyElement</dfn> : <span>HTMLElement</span> {};
15669
15669
</footer>
15670
15670
</body></pre>
15671
15671
15672
- <p>Notice the <code>main</code> elements being used to wrap all the contents of the page other
15673
- than the header and footer, and all the contents of the blog entry other than its header and
15674
- footer.</p>
15675
-
15676
15672
<p>You can also see microdata annotations in the above example that use the schema.org vocabulary
15677
15673
to provide the publication date and other metadata about the blog post.</p>
15678
15674
@@ -17287,11 +17283,9 @@ Space is not the only void</pre>
17287
17283
</nav>
17288
17284
<h1>We're adopting a child!</h1>
17289
17285
</header>
17290
- <main>
17291
- <p>As of today, Janine and I have signed the papers to become
17292
- the proud parents of baby Diane! We've been looking forward to
17293
- this day for weeks.</p>
17294
- </main>
17286
+ <p>As of today, Janine and I have signed the papers to become
17287
+ the proud parents of baby Diane! We've been looking forward to
17288
+ this day for weeks.</p>
17295
17289
</article>
17296
17290
</html></pre>
17297
17291
@@ -17308,8 +17302,8 @@ Space is not the only void</pre>
17308
17302
</ol>
17309
17303
</ol>
17310
17304
17311
- <p>Also worthy of note in this example is that the <code>header</code> and <code>main</code>
17312
- elements have no effect whatsoever on the document outline.</p>
17305
+ <p>Also worthy of note in this example is that the <code>header</code> element has no effect
17306
+ whatsoever on the document outline.</p>
17313
17307
17314
17308
</div>
17315
17309
@@ -19203,17 +19197,15 @@ included with Exhibit B.
19203
19197
<dd>Uses <code>HTMLElement</code>.</dd>
19204
19198
</dl>
19205
19199
19206
- <p>The <code>main</code> element can be used as a container for the dominant contents of another
19207
- element . It <span>represents</span> its children.</p>
19200
+ <p>The <code>main</code> element can be used as a container for the dominant contents of the
19201
+ document . It <span>represents</span> its children.</p>
19208
19202
19209
19203
<p class="note">The <code>main</code> element is distinct from the <code>section</code> and
19210
19204
<code>article</code> elements in that the <code>main</code> element does not contribute to the
19211
19205
document <span>outline</span>.</p>
19212
19206
19213
- <p class="note">There is no restriction as to the number of <code>main</code> elements in a
19214
- document. Indeed, there are many cases where it would make sense to have multiple
19215
- <code>main</code> elements. For example, a page with multiple <code>article</code> elements might
19216
- need to indicate the dominant contents of each such element.</p>
19207
+ <p class="note">While there is no restriction as to the number of <code>main</code> elements in a
19208
+ document, web developers are encouraged to stick to a single element.</p>
19217
19209
19218
19210
<div class="example">
19219
19211
@@ -29926,10 +29918,8 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
29926
29918
<p><img src="/usericons/1627591962735"> <b>Fred Flintstone</b></p>
29927
29919
<p><a href="/posts/3095182851" rel=bookmark>12:44</a> — <a href="#acl-3095182851">Private Post</a></p>
29928
29920
</header>
29929
- <main>
29930
- <p>Check out my new ride!</p>
29931
- <strong><iframe src="https://video.example.com/embed?id=92469812" allowfullscreen></iframe></strong>
29932
- </main>
29921
+ <p>Check out my new ride!</p>
29922
+ <strong><iframe src="https://video.example.com/embed?id=92469812" allowfullscreen></iframe></strong>
29933
29923
</article></pre>
29934
29924
29935
29925
</div>
@@ -57136,15 +57126,13 @@ interface <dfn>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
57136
57126
57137
57127
<div class="example">
57138
57128
57139
- <p>This dialog box has some small print. The <code>main </code> element is used to draw the user's
57140
- attention to the more important parts .</p>
57129
+ <p>This dialog box has some small print. The <code>strong </code> element is used to draw the
57130
+ user's attention to the more important part .</p>
57141
57131
57142
57132
<pre><dialog>
57143
57133
<h1>Add to Wallet</h1>
57144
- <main>
57145
- <p>How many gold coins do you want to add to your wallet?</p>
57146
- <p><input name=amt type=number min=0 step=0.01 value=100></p>
57147
- </main>
57134
+ <p><strong><label for=amt>How many gold coins do you want to add to your wallet?</label></strong></p>
57135
+ <p><input id=amt name=amt type=number min=0 step=0.01 value=100></p>
57148
57136
<p><small>You add coins at your own risk.</small></p>
57149
57137
<p><label><input name=round type=checkbox> Only add perfectly round coins </label></p>
57150
57138
<p><input type=button onclick="submit()" value="Add Coins"></p>
0 commit comments