<style> with wrong mimetype

Test of Filter

This text will be green if the rule has been applied.

Code Syntax

<style type="text/nonsense">
#testElement {
   color: #00ff00;

Browser Support / Behaviour

Applied By

Not Applied By


Special Notes

Because style sheet contents must be of the mimetype text/css, standards-compliant browsers should not apply stylesheets with different mimetypes and will not apply this rule (so the text in the example block should be red in compliant browsers).

More information