Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on HTML or XHTML: Does It Really Matter?. Parent comment
document.write() and document.writeln() cannot be used in XHTML, they can in HTML.
In XHTML, the use of the innerHTML property requires that the string be a well-formed fragment of XML.
Also as far as I remember there are odd things with iframes etc.
Also the fact that HTML: <input type=checkbox checked>
becomes <input type="checkbox" checked="checked"/>
can add quite a bit of unnecessary bloat to a page.
There are no comments on this comment yet.
document.write() and document.writeln() cannot be used in XHTML, they can in HTML.
In XHTML, the use of the innerHTML property requires that the string be a well-formed fragment of XML.
Also as far as I remember there are odd things with iframes etc.
Also the fact that HTML: <input type=checkbox checked>
becomes <input type="checkbox" checked="checked"/>
can add quite a bit of unnecessary bloat to a page.