if you are using scratch or turbowarp, you can export your project to html files by turbowarp packager.