News for hackers. Stuff that matters.
Re:To close or not to close – Void HTML elements by robin_reala on Thursday February 27, 2014 @04:00AM (#7311155)
Know why everyone writes <br /> instead of <br/>? IE5 on the Mac’s parser broke it if found an empty tag without a space before the closing slash. Funny how software can vanish into the mists of time yet still have an effect on current coding.
Re:To close or not to close – Void HTML elements by skakri on Thursday February 27, 2014 @05:21AM (#7311377)
HTML and XHTML 'compatibility' for older versions of IE. IE6 couldn't parse application/html+xml MIME type and broke layouts. <br /> fixed that issue.
Re:To close or not to close – Void HTML elements by robin_reala on Thursday February 27, 2014 @06:16AM (#7311549)
Add IE7 and IE8 to the list of browsers that don’t understand XHTML.