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
From now on conformance checkers can only allow <!doctype html> and
<!doctype html SYSTEM "about:legacy-compat"> as doctypes in HTML syntax.
The HTML4 and XHTML1 DOCTYPEs are no longer allowed.
(XHTML syntax continues to be supported and is not influenced by this
change.)
<p>The <span>DOCTYPE legacy string</span> should not be used unless the document is generated from
98514
98514
a system that cannot output the shorter string.</p>
98515
98515
98516
-
<hr>
98517
-
98518
-
<!-- see the parser section before changing this bit -->
98519
-
98520
-
<p>To help authors transition from HTML4 and XHTML1, an <dfn>obsolete permitted DOCTYPE
98521
-
string</dfn> can be inserted into the DOCTYPE (in the position defined above). This string must
98522
-
consist of:</p>
98523
-
98524
-
<ol class="brief">
98525
-
<li>One or more <span data-x="space character">space characters</span>.</li>
98526
-
<li>A string that is an <span>ASCII case-insensitive</span> match for the string "<code data-x="">PUBLIC</code>".</li>
98527
-
<li>One or more <span data-x="space character">space characters</span>.</li>
98528
-
<li>A U+0022 QUOTATION MARK or U+0027 APOSTROPHE character (the <i>first quote mark</i>).</li>
98529
-
<li>The string from one of the cells in the first column of the table below. The row to which this cell belongs is the <i>selected row</i>.</li>
98530
-
<li>A matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character (i.e. the same character as in the earlier step labeled <i>first quote mark</i>).</li>
98531
-
<li>If the cell in the second column of the <i>selected row</i> is not blank, one or more <span data-x="space character">space characters</span>.</li>
98532
-
<li>If the cell in the second column of the <i>selected row</i> is not blank, a U+0022 QUOTATION MARK or U+0027 APOSTROPHE character (the <i>third quote mark</i>).</li>
98533
-
<li>If the cell in the second column of the <i>selected row</i> is not blank, the string from the cell in the second column of the <i>selected row</i>.</li>
98534
-
<li>If the cell in the second column of the <i>selected row</i> is not blank, a matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character (i.e. the same character as in the earlier step labeled <i>third quote mark</i>).</li>
98535
-
</ol>
98536
-
98537
-
<table>
98538
-
<caption>
98539
-
Allowed values for public and system identifiers in an <span>obsolete permitted DOCTYPE string</span>.
0 commit comments