tags:

views:

92

answers:

3

I mean does anyone use a value different than "text/css"?

+15  A: 

CSS and JavaScript might have killed all their rivals and dominated the browser, but other languages have existed, and the victory of CSS/JS was much less certain when HTML 4 was being written.

For stylesheets, the only real contender was JSSS, which saw support in Netscape 4 (which had really poor CSS support due to it being an emulation layer over its JSSS engine).

David Dorward
+1  A: 

What if someone creates a new, better "stylesheet language"? Change the HTML specification?

I would say, this is an application of loose coupling.

Felix Kling
+2  A: 

There is text/xsl. It is also good design to make it possible to add new alternative style types in the future.

Sjoerd