This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
4.11.1 JavaScript: innerHTML vs document.write() http://www.w3.org/TR/html-polyglot/#javascript-and-document.write > Although document.write() and document.writeln() works in HTML, ... s/works/work/ > Note: ... However, XML parsers will parse that string as XML in XHTML > while HTML parsers parse will parse that string as HTML in HTML. s/parse will parse/will parse/