Log in

No account? Create an account
entries friends calendar profile Previous Previous Next Next
Concerted effort - shadows of echoes of memories of songs — LiveJournal
Concerted effort
Read 18 | Write
imc From: imc Date: June 26th, 2006 04:32 pm (UTC) (Link)
Certainly XHTML requires all tags to be closed explicitly. I'm under the impression that in HTML 4 the closing tags for <tr> and <td> elements are optional (though you always used to have to put them in anyway in order to avoid breaking Netscape 4).

LiveJournal is aiming for XHTML compliance, but that's a nonsense: you're never going to be able to massage random user-supplied HTML into syntactically valid XHTML (and syntactically invalid XHTML is completely pointless in my view). Indeed, the page into which I'm typing this comment has an HTML 4 doctype, so strictly speaking all the XHTML self-closing tags on this page are syntactically invalid. [See previous rant.]

Anyway. The point of LiveJournal's HTML cleaner is that it's supposed to protect the LiveJournal environment from the effects of any bad HTML appearing within your entry; so if you can break it, it's definitely a bug regardless of whether or not the HTML you typed happened to be valid.
Read 18 | Write