You cannot write your entire site in an HTML document from scratch. You need to use the Yola Sitebuilder. However, you can add HTML elements from within the Sitebuilder.
For information on how to use the HTML widget, please see this tutorial: Adding HTML.