Word can be directly saved as HTML, but even saving as HTML will result in a large amount of unnecessary code. This article introduces methods to remove the redundant code.