Drag an .html file anywhere on this page, or choose a file.
No signup. No build step. The link works immediately.
Your HTML is hosted exactly as you wrote it — nothing is rewritten or restyled.
Mobile browsers were never built to open local files. There is usually no way to browse to one, and even when a file manager hands it over, the page loads over file:// where cross-origin rules block external resources and parts of JavaScript simply fail. So you get a blank screen, unstyled text, or a prompt to download something that then goes nowhere. Publishing the file to a link sidesteps all of it: the phone is asked to open a normal web page, which is the one thing every mobile browser does well.
On a desktop, the problem looks different — see why double-clicking fails.