This module attempts to expose a type-safe way of describing a full HTML document.
This function creates a new document. It receives a list of attributes for the root element (<html>), the <head>
HTML node and the <body> HTML node. After creating your Document, you can convert it to a string using the
toString function.
The
Documenttype is an opaque type that tries to organize a way to create a full HTML document. To create a new document you need to use thenewfunction.