'compatMode' Syntax and Note : compatMode « Javascript Properties « JavaScript Reference

'compatMode' Syntax and Note

Note:

Read-only property. 
Indicates whether or not standards-compliant mode is included in <!DOCTYPE>.

document.compatMode

CSS1Compat                  Standards-compliant mode is included. 
                            IE renders the document in compliance with the CSS1 language 
                            standards.
back-compat                 Standards-compliant mode is not included. Document is rendered 
                            in consistent with previous versions of IE.

    
Syntax:


      
      








Related examples in the same category

1.'compatMode' Example
2.'compatMode' is applied to