<html> <head> <style type="text/css" id="myStyle"> @import "external.css"; @import "examples.css"; @import "heading.css"; @import "java2s.css"; @import "demo.css"; </style> </head> <body> <p>Body content.</p> <script language="JavaScript"> alert(document.styleSheets(0).imports.length); </script> </body> </html>