doctype

The doctype JS Document returns the doctype or null if there is none.

Syntax

document.doctype

Examples

1

2

3

adoptNode

characterSet

compatMode

contentType

createCDATASection

createComment

createDocumentFragment

createElement

createElementNS

createProcessingInstruction

createTextNode

Document

documentElement

documentURI

exitPictureInPicture

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

implementation

importNode

pictureInPictureEnabled

URL

write

writeln

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu