HTML is a typesetting engine. It's not a "UI language" and never has been.

I don't know why would anyone think it's a good choice to do UI apps. The fact we use it on a web is a historical accident and causes a lot of pain and damage to the industry.