APIs to HTML