Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

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

adoptNode

characterSet

contentType

createCDATASection

createComment

createDocumentFragment

createElement

createElementNS

createProcessingInstruction

createTextNode

doctype

Document

documentElement

documentURI

exitPictureInPicture

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

implementation

importNode

pictureInPictureEnabled

URL

write

writeln

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu