tags:

views:

146

answers:

3
<style type="text/css">..</style>

From the above html,I think there should be,but I've never seen it,is there?

+5  A: 

Netscape 4 (only) supported Javascript Style Sheets.

SLaks
Thats crazy... oh silly old netscape...
Zoidberg
+3  A: 

As far as I know, not in HTML, but XML (and consequently XHTML) support XSL stylesheets using XML style sheet definitions:

<?xml-stylesheet type="text/xsl" href="foo.xsl" title="XSL Rules"?>

It's worth mentioning because the same PI will allow you to attach CSS style sheets to XML documents as well.

zneak
Also, less commonly, `text/dsssl` http://en.wikipedia.org/wiki/DSSSL
bobince
+3  A: 

As of HTML5, you don't need to supply a type any more, since there are no other relevant style types. The same goes for script.

Jacob R
yay! that's nice
Michael Haren
+1 good to know
alex