One option (of many) is to have Powershell host your HTML. Use the System.Net.HttpListener web listener, and answers requests based on what you are wanting to provide.
There is an article about building a web server with Powershell:
https://4sysops.com/archives/building-a-web-server-with-powershell/
https://www.powershellgallery.com/packages/HttpListener/1.0.2/Content/HTTPListener.psm1
When you have such low level control of the data scream, you can leverage the power of HTML into powershell.
Now, while this fits your question, this is pretty complicated (any time you have to develop in multiple languages at the same time -- HTML, Powershell, perhaps Javascript, etc), it can get complex in a hurry.
My suggestion is to make sure you really need the app your building to be web based.
If you just wanting GUI (and web is not a requirement) then this task would be far easier using the .NET forms ability of some of the other answers.
The powershell gallery link actually has a functional Powershell web server script in just under 175 lines (plus comments) that was originally written within Microsoft in 2014.
(The Microsoft code, in case it moves URL's, is called HTTPListener.psm1 so it can be found in a web engine search)
exec()
command to execute scripts on the command line.