You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dt>Contexts in which this element may be used:</dt>
10634
10634
<dd>As the first element in an <code><a href=#the-html-element-0>html</a></code> element.</dd>
10635
10635
<dt>Content model:</dt>
10636
-
<dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
10636
+
<dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a> or if title information is available from a higher-level protocol: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
10637
10637
<dd>Otherwise: One or more elements of <a href=#metadata-content>metadata content</a>, of which exactly one is a <code><a href=#the-title-element-0>title</a></code> element.</dd>
Copy file name to clipboardExpand all lines: index
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10532,7 +10532,7 @@ gave me some of the songs they wrote. I love sharing my music.</p>
10532
10532
<dt>Contexts in which this element may be used:</dt>
10533
10533
<dd>As the first element in an <code><a href=#the-html-element-0>html</a></code> element.</dd>
10534
10534
<dt>Content model:</dt>
10535
-
<dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
10535
+
<dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a> or if title information is available from a higher-level protocol: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
10536
10536
<dd>Otherwise: One or more elements of <a href=#metadata-content>metadata content</a>, of which exactly one is a <code><a href=#the-title-element-0>title</a></code> element.</dd>
Copy file name to clipboardExpand all lines: source
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10947,7 +10947,7 @@ gave me some of the songs they wrote. I love sharing my music.</p>
10947
10947
<dt>Contexts in which this element may be used:</dt>
10948
10948
<dd>As the first element in an <code>html</code> element.</dd>
10949
10949
<dt>Content model:</dt>
10950
-
<dd>If the document is <span>an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</span>: Zero or more elements of <span>metadata content</span>.</dd>
10950
+
<dd>If the document is <span>an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</span> or if title information is available from a higher-level protocol: Zero or more elements of <span>metadata content</span>.</dd>
10951
10951
<dd>Otherwise: One or more elements of <span>metadata content</span>, of which exactly one is a <code>title</code> element.</dd>
10952
10952
<dt>Content attributes:</dt>
10953
10953
<dd><span>Global attributes</span></dd>
@@ -10991,6 +10991,12 @@ gave me some of the songs they wrote. I love sharing my music.</p>
10991
10991
10992
10992
</div>
10993
10993
10994
+
<p class="note">The <code>title</code> element is a required child
10995
+
in most situations, but when a higher-level protocol provides title
10996
+
information, e.g. in the Subject line of an e-mail when HTML is used
10997
+
as an e-mail authoring format, the <code>title</code> element can be
0 commit comments