4 ms·
Fair enough, TIL. I'd imagine it's much less valid if the missing closing `</li>` is on the first line, though.
by verandaguy 10y ago
Fair enough, TIL. I'd imagine it's much less valid if the missing closing `</li>` is on the first line, though.
- mbrock 10y agoNo, you can write the entire list without any </li> tags and it's perfectly fine. You also generally don't need to close your <p> tags to start a new paragraph, because paragraphs don't nest inside each other.
- dsp1234 10y agoThis is a perfectly valid html5 document: <!doctype html> <title></title> <ul> <li>item1 <li>item2 </ul>