contentType
Description
The contentType of Document for JS returns document’s content type.
Syntax
document.contentType
Examples
1
2
Links
Document
- adoptNode
- characterSet
- compatMode
- createCDATASection
- createComment
- createDocumentFragment
- createElement
- createElementNS
- createProcessingInstruction
- createTextNode
- doctype
- Document
- documentElement
- documentURI
- exitPictureInPicture
- getElementsByClassName
- getElementsByTagName
- getElementsByTagNameNS
- implementation
- importNode
- pictureInPictureEnabled
- URL
- write
- writeln