• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
  1. MDN
  2. Tecnologia da Web para desenvolvedores
  3. Web APIs
  4. StyleSheet
  5. StyleSheet.type

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