The headline said that the author was specifically looking to avoid 'xhtml self-contained tags', but that doesn't mean they could assume the document they were looking in was valid XHTML - just that it might contain XHTML-style 'self-closing' tags.
I've seen plenty of plain HTML files that aren't well-formed XML yet contain <br/> tags.
goto11|4 years ago
jameshart|4 years ago
I've seen plenty of plain HTML files that aren't well-formed XML yet contain <br/> tags.