Strictly speaking, XHTML must be valid XML, so this shouldn't be an issue.
Stand-alone tags are, as you noted, indicated with the trailing slash (<br/>
).
How that tag is specified (in code) or printed, <br/>
or <br></br>
, is simply a choice - it's still a single node without child elements.