Style Sheets title : styleSheet : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » styleSheet »

 

Style Sheets title



    
<html>
<body>
<style id="yourStyleSheet">
.body font-family:verdana; color:blue }
</style>
<script language="JavaScript">
    document.getElementById("yourStyleSheet").title = "This is my internal style sheet";
    alert(document.styleSheets[0].title);
</script>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» styleSheet