Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

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>