YSK: there's a browser extension called "SingleFile", which allows you to save any page into a single HTML file.
YSK: there's a browser extension called "SingleFile", which allows you to save any page into a single HTML file.

www.getsinglefile.com
SingleFile – Effortlessly Save and Preserve Web Pages

It also works with JavaScript-heavy websites like Mastodon and Youtube, which the standard "Save Page" feature implemented in all browsers usually fails to save, though some features like collapsibles are missing.