JavaScript Reference/Javascript Properties/title stylesheet
"title" Example
<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>
"title" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |stylesheet |
+----------------+--------------------------------------------------------------+
"title" Syntax and Note
Note:
Read and write property.
Specifies the style sheet title.
Syntax:
document.styleSheets[index].title
document.all.styleID.title