Worst code ever
Robert Nyman is looking for examples of really ugly, invalid, broken code in Worst code you've ever seen?. Got something to show him? Did you write it yourself? That's even better!
Just for fun I had a look through my old archived stuff from the nineties. It wasn't quite as horrible as I was afraid it would be. But I did find this pretty piece of HTML:
<TR><TD COLSPAN=2 BGCOLOR=999999> </TD></TR>
<TR><TD BGCOLOR=999999 VALIGN=Top ALIGN=RIGHT WIDTH=8%><FONT SIZE=1 FACE="Geneva,Verdana,Arial"><B>Income</B> </FONT></TD><TD WIDTH=25% BGCOLOR=999999><FONT SIZE=1 FACE="Geneva,Verdana,Arial">
It goes on and on. Shame on me.
But I was wondering... what is the worst valid markup you have ever seen? I think valid code that blatantly disregards best practices is at least as insulting as invalid tag soup, so it would be interesting to see some examples.
Code posting tip: Indent each line in code blocks by four (4) spaces and you won't have to escape < and >. Keep lines reasonably short to avoid clipping.