That actually reminded me that I learned a bit of html like 10 years ago in a digital design course but I focused else where in the course being photoshop... so 99% of knowledge of html is all lost and forgotten now, all I remember are a handful of hex color values lol which I probably only remember because I google them from time to time for other uses. But at first reading this and what I remembered of html from like 10 years ago, I thought it wouldn't be possible to program a game in html least not like WM, but with the short stint of playing with dreamweaver made me think so I and had to google if it would be. From what I googled and everything I found when talking about game coding in html they all mention the use of combination with something like javascript, but never mention making a game in html alone. So I don't know if it would be possible. I guess to say from what I have read and the few videos that I have watched in my search is that that if its anything like a facebook game level of graphics and play then it probably wouldn't be possible. Where the game stands now since its nearly just simple point and click it might be but I don't know how well it would run. It runs choppy now when dealing with gif's sometimes and its programmed in C++ but that could be left to something wrong with the code or something, since WM has been built on the bodies of other WM versions and what I have viewed of it the code is Frankenstein'd together, which I know there has been attempts at cleaning it up, but how each person codes is differently so issues can arise. Now if you were to add anything like a dungeon crawler aspect to the game like I want to do based on the tutorial I mentioned I know hands down html cant do it alone it would need something stronger in combination.
Not trying to dissuade you just trying to help out with what little bit of understanding I have. And someone might correct me which if they can show an better path I'd be all ears also.
But if your were to say your a beginner at programming and want to know where to start I would point to codecombat and say learn python, they teach everything a beginner needs to know and advanced concepts near the end... and then move on to the terrible programmers rogue like tutorials for graphic and sound implementation and from there by the time you finish codecombat and if the the tutorial holds true to what it offers one should be able to make a game comparable to Legend of Zelda a link to the past as their first game, well second after making the rogue like and then you just start climbing from there. And that is what I am attempting right now... time prohibiting, I've gone through the majority of codecombat, and now I am follow along with the rogue like tutorial and so far its going good so I will see how things fair on the other side.