Take a look at Rocket Craft Project
I try to explain whole procces. With combination of GitHub - UnrealEngineHTML5/Documentation you can get what you want.
Only limitation is Last standard working version is 4.24.0 - 2.24.3
Note :
Most simply variant :
If you wanna avoid building from source then you need just to download version 4.22 and then you can package HTML5 with one click. In 4.22 HTML5 is still deep integrated intro engine.
4.22 is nice , modern and similar with 4.24.
Only limitation is No support for building dedicated server
.
Enjoy in rocket !