To create a compiled HTML Help (chm) file, use specialized software packages, you can find the most complete list of them at chmtools.com: