Update the HTML Document Type guidance

This removes the guidance around not closing void elements since this is incompatible with the Prettier formatter.
This commit is contained in:
Tony Ruscoe authored and GitHub committed 2023-04-26 12:22:36 +01:00
1 parent 453aca8c43
commit 2173b8d68c
1 file changed
-3
-3
View File
@@ -173,9 +173,6 @@ depends on the project’s complexity.)</p>
<a href="https://hixie.ch/advocacy/xhtml"><code>application/xhtml+xml</code></a>, lacks both browser
and infrastructure support and offers less room for optimization than HTML.)</p>
<p>Although fine with HTML, do not close void elements, i.e. write <code>&lt;br&gt;</code>, not <code>&lt;br
/&gt;</code>.</p>
<h4 id="HTML_Validity" class="numbered">HTML Validity</h4>
<p>Use valid HTML where possible.</p>