% % > In article <
[email protected]>,
% > % On Mon, 10 Nov 2003 19:08:45 +0100, Patrick TJ McPhee wrote:
% > % > Except that <br> is valid in HTML, while <br/> is not.
% > %
% > % Correct me if I'm wrong, but HTML 4.01 has a SHORTTAG YES clause in its
% > % SGML Declaration. Doesn't that mean that constructs like <br/> _are_
% > % allowed, and that a browser that doesn't read them just isn't fully
% > % conformant?
% >
% > Let me reword my previous statement. <br> does not mean the same thing
% > as <br/> in HTML. <br/> does not mean the same thing in xHTML as it
% > does in HTML.
%
% Don't just leave us hanging. What's the diff?
%
% I don't know of any modern browser that a) doesn't accept <br/> or b)
% appears to treat it different than <br>, but maybe there's some subtlety I'm
% missing wrt b.
There's no subtlety here. As has been pointed out, <br/> in HTML is the
same as <br>>. It may be that there's no browser which gets it right,
but that's just saying that nobody really gives a shit about standards,
and that it doesn't matter whether you adhere to them, so long as it