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.
434.   How can I get around registering your real email with a given service? (or what's a good way to get a feed for a throwaway email?)
  [jake/2006-06-02]
431.   What is meant when someone says that something was "Steved?"
  [jake/2006-05-21]
342.   Where is a good place to learn about secure programming (or how not to get laughed at)
  [jake/2002-12-19]
309.   What does the YAK do about SPAM?
  [strick/2002-02-26]
299.   What does a SPACEWHALE look like?
  [strick/2002-01-12]
254.   how do i setup my orinoco wirelss card with linux 2.4.x?
  [jesse/2001-07-03]
230.   What is a good book to get started with Python?
  [rupe/2001-05-30]
171.   How do I read a huge file line by line in Python, without loading the entire thing into memory first?
  [rupe/2001-02-01]
( enki/2003-10-20 )
154.   How can I integrate PGP5 functionality into the pine mail reader?
  [rupe/2000-12-27]
116.   where does r0ss come from?
  [xenocide/2000-09-10]
101.   Where can I find tech support anecdotes?
  [rupe/2000-06-12]
87.   How do i OPT OUT of doubleclick's user-tracking cookies?
  [strick/2000-05-11]
82.   Can Mice Fly ?
  [philbert2k/2000-04-27]
52.   What countries are .HR .SR .TT .LK etc.
  [strick/2000-02-07]