htmlNewDoc is available since version 1.0.
Prototype:
number htmlNewDoc(string URI, string ExternalID)
Parameters
URI
URI for the dtd, or an empty string
ExternalID
the external ID of the DTD, or an empty string
Description:
Creates a new HTML document.
Return value:
Returns a new HTML tree document handle or null if failed.