<link> with wrong mimetype

Test of Filter

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

Code Syntax


<link rel="stylesheet" type="text/nonsense" href="styles.css" />
         

Browser Support / Behaviour

Applied By

Not Applied By

Unknown

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