• Skip to main content
  • Select language
  • Skip to search
mozilla
Mozilla Developer Network
  • Sign in
    • Sign in or create an account:
      GitHub
    • Sign in:
      Persona
  • Web Technologies
    Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
    References & Guides
    • Learning web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
  • Mozilla Docs
    • Add-ons
    • Firefox
  • Developer Tools
  • Feedback
    • Get Firefox help
    • Get web development help
    • Join the MDN community
    • Report a content problem
    • Report a bug
  •  
    • Español (es)
    • 日本語 (ja)
    • Polski (pl)
    • Add a translation
  • Edit
  • Advanced
    • History
    • Print this article
  1. MDN
  2. Web technology For developers
  3. Web APIs
  4. StyleSheet
  5. StyleSheet.type
Your Search Results

    StyleSheet.type

    In This Article
    1. Summary
    2. Syntax
    3. Example
    4. Specification

    Summary

    type specifies the style sheet language for this style sheet.

    Syntax

    string = stylesheet.type 
    

    Example

     ss.type = "text/css";
    

    Specification

    type

    Document Tags and Contributors

    Tags: 
    • API
    • CSSOM
    • Property
    • Reference
    • Référence
     Contributors to this page: fscholz, teoli, kscarfone, Sheppy, ethertank, Ptak82, Dria
     Last updated by: fscholz, Feb 22, 2015, 12:46:29 PM
    See also
    1. StyleSheet
    2. Properties
      1. StyleSheet.disabled
      2. StyleSheet.media
      3. StyleSheet.ownerNode
      4. StyleSheet.parentStyleSheet
      5. StyleSheet.title
      6. StyleSheet.type
    3. Related pages:
      1. CSS
      2. CSSConditionRule
      3. CSSGroupingRule
      4. CSSKeyframeRule
      5. CSSKeyframesRule
      6. CSSMediaRule
      7. CSSNamespaceRule
      8. CSSPageRule
      9. CSSRule
      10. CSSRuleList
      11. CSSStyleDeclaration
      12. CSSStyleRule
      13. CSSStyleSheet
      14. CSSSupportsRule
      15. CaretPosition
      16. LinkStyle
      17. StyleSheetList

    © 2005-2016 Mozilla Developer Network and individual contributors.

    Content is available under these licenses.

    • About MDN
    • Terms
    • Privacy
    • Cookies
    • Contribute to the code