Are you turned on option with name
"SharedArrayBuffer
support — (Experimental) This may break parts of the page or your project. Only enable if you know you need it."?
Because, Godot 4 HTML don't work without it...
At least it definitely didn't work for me until I turned it on