name

open external val name: String(source)

The read-only name property of the DocumentType returns the type of the document.

MDN Reference