Skip to content

Commit 2173b8d

Browse files
authored
Update the HTML Document Type guidance
This removes the guidance around not closing void elements since this is incompatible with the Prettier formatter.
1 parent 453aca8 commit 2173b8d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

htmlcssguide.html

-3
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ <h4 id="Document_Type" class="numbered">Document Type</h4>
173173
<a href="https://hixie.ch/advocacy/xhtml"><code>application/xhtml+xml</code></a>, lacks both browser
174174
and infrastructure support and offers less room for optimization than HTML.)</p>
175175

176-
<p>Although fine with HTML, do not close void elements, i.e. write <code>&lt;br&gt;</code>, not <code>&lt;br
177-
/&gt;</code>.</p>
178-
179176
<h4 id="HTML_Validity" class="numbered">HTML Validity</h4>
180177

181178
<p>Use valid HTML where possible.</p>

0 commit comments

Comments
 (0)