public readonly property doctype as DocumentType
Document type declaration associated with this document.
print(document.doctype)