Style type Example : Style « HTML « JavaScript DHTML






Style type Example

 
    
<html>
<body>
<style id="myStyle" type="CSS2"></style>
<button onclick="alert(document.all.myStyle.type);">style sheet</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.Style cssText
2.Show and hide the div tags
3.In-Place Help