Well HTML is fine by me especially if its printable (no more than 640 px in width, and preferably with newpage tags in it)
The layout,writing and coloring is more important. I somewhat like NEHE style since they explain the code as one go. But it can also be a pain since you loose focus on the theory.
oh thinm I raised mroe questions than I answered sorry...
I'll make a printable HTML version, and don't worry, the code and explanations and separated (code in a grey colored table) and I've tested PDF export, the layout I've used work perfectly and it's very pleasant to read !