If you Save a page via your browser, it[1] creates the .html file, plus a sub-folder of the same name with all the assets in. The html gets re-written to reflect the new file paths.
---
[1] In Chrome, IE, an Edge definitely. Not sure about Firefox or Safari.