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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Properties » compatMode 
'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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.