How to | Deploy a Web Page in the Wolfram Cloud
You can export a notebook as a web page in the Wolfram Cloud using CloudExport. You can also programmatically deploy content to web pages using CloudDeploy. Note: make sure that your Wolfram Cloud Account is set up to allow you to deploy web pages in the Wolfram Cloud.
If the HTML you are deploying is not a complete document, the "HTMLFragment" format should be used.