Re: What is wrong with <td/>?

On 19 Sep 2015, at 14:10, Roger W Haworth wrote:

> I also received a reply from David Dorward who pointed me to the specification and said it is not a bug. But I still think it is retrogression!

It isn't.

In XHTML the syntax is allowed, but the HTML Compatibility Guidelines forbid it: http://www.w3.org/TR/xhtml-media-types/#C_3 (and HTML 5 is primarily an HTML specification, not an XHTML specification).

In HTML 4, the syntax is allowed, but `<td />` should be parsed as `<td>&gt;` (almost no browser on the market ever got that correct though) and their use is warned against by the spec: http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.7



-- 
David Dorward
http://dorward.co.uk/

Received on Saturday, 19 September 2015 13:15:46 UTC