Many years ago Windows systems were more popular. Microsoft created CHM then. It was compressed archive/file including HTML files (with CSS, Java Script, etc.) with additional TOC, indexes and similar things. I have used it for various purposes and even today it's possible to open and read many of these files. Example for it can be "The HTML Reference Library 4.0" (my conversion of original release prepared by Stephen Le Hunte).