i exported to HTML5 runnable in the latest (3.1) godot. guess you're struggling with itch.io. i had the same issue initially. make sure to zip your archive for the game upload as .zip, they dont like .rar. the game.html file has to be called index.html
should work after that!