compatMode
Description
The compatMode of Document for JS returns the string "BackCompat" if document’s mode is "quirks"; otherwise "CSS1Compat".
Syntax
document.compatMode
Examples
1
2
Links
Document
- adoptNode
- characterSet
- contentType
- createCDATASection
- createComment
- createDocumentFragment
- createElement
- createElementNS
- createProcessingInstruction
- createTextNode
- doctype
- Document
- documentElement
- documentURI
- exitPictureInPicture
- getElementsByClassName
- getElementsByTagName
- getElementsByTagNameNS
- implementation
- importNode
- pictureInPictureEnabled
- URL
- write
- writeln