Re:Only 2.6% of the most visited websites have fully valid HTML
by chuckadams on Wednesday August 12, 2026 @11:33AM
(#49274053)
Nonetheless, <p> is automatically closed by the occurrence of another block-level element, like another <p> tag or ones like <div> or any header. <li> and <tr> have similar rules. We close them because we're not savages and want to see container tags balanced in the editor, but the html5 spec doesn't strictly require it.
[ Parent
| on HN ]
There are no comments on this comment yet.