1)
A shareware, open-source C program named "Tidy" lives at the venerable W3C, at
http://www.w3.org/People/Raggett/tidy/
It is written by Dave Ragget (the editor of the HTML 4 spec). Is very current, sophisticated, to some extent handles XML, cascading style sheets, ASP and PHP as well. Configurable, is ported/tested on just about any current platform, plus a Java port. I haven't tried it yet, but i'm gonna!
2)
MicroSoft has seen the light ..
yeah right!
Microsoft decided to get in on the action, after several other folks
started incorporating "clean up MS2000 mess" tools into their own apps,
and has a little program for it at the MS website.
http://officeupdate.microsoft.com/2000/downloadDetails/Msohtmf2.htm
It works, if you check *all* the options in the configuration menu. It still leaves cell size, font size, and cell color info though, which you may want, or you can get rid of with a regex. A co-worker tells me an option in DreamWeaver will remove cell size info.
439.   What is a moldograph? What is moldography?
  [jake/2006-09-11]
381.   What is that pesky System.map file anyway?
  [jake/2003-09-25]
364.   What is the best list of security tools at the moment?
  [jake/2003-07-06]
326.   How do I make an RJ-45 connector into a hardware loop back device (is that an ethernet jammer in your pocket) ? (or how the hell do you boot an Indy with out an ethernet cable)
  [jake/2002-10-05]
322.   how do i verify an address in sendmail?
  [jesse/2002-08-30]
310.   whats the easiest way to build apache 1.x with lots of modules?
  [jesse/2002-04-28]
291.   Should I solder my Sound Card into my computer?
  [strick/2002-02-04]
236.   how do i setup a scroll wheel mouse in xfree86 4.0.x?
  [jesse/2001-06-09]
232.   Where can i find a stamp sized ethernet web server for (barely)less than $100?
  [sidd/2001-05-30]
160.   Where can I find information about Dr. Bronner?
  [rupe/2001-01-04]
( strick/2001-01-07 )
98.   What are the rules for SHOTGUN?
  [strick/2000-05-18]
53.   Why is strick's favorite composer Dennis Báthory-Kitsz?
  [strick/2001-05-13]
44.   What web pages are by VONGUARD?
  [strick/2000-02-02]
40.   What's the funniest comic on the net?
  [strick/2000-02-02]
( strick/2001-06-11 robey/2001-06-08 strick/2000-10-30 )
39.   Can we get a peek at CRPL?
  [strick/2000-02-01]