top | item 27095283

(no title)

jontro | 4 years ago

To me it’s a bit ambiguous if the original question is about both html and xhtml. It’s tagged with both

discuss

order

goto11|4 years ago

The headline says XHTML. HTML does not even have the self-closing tags the question is concerned about.

jameshart|4 years ago

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.