Comments on: Your Questions #14 https://stevefaulkner.github.io/html5doctored/your-questions-14/ helping you implement HTML5 today Thu, 28 Jul 2016 17:36:34 +0000 hourly 1 By: JJ https://stevefaulkner.github.io/html5doctored/your-questions-14/#comment-12125 Mon, 29 Nov 2010 15:53:32 +0000 http://html5doctor.com/?p=2543#comment-12125 I didn’t say wrong mime type. I said improper mime type.

For example, if the server were configured wrong and it was sending a strange mime type like “/html” or just the empty string – something that could not, by its very nature, be a proper mime type. When that happens, the browser falls back to the @type attribute.

]]>
By: JM https://stevefaulkner.github.io/html5doctored/your-questions-14/#comment-12124 Mon, 29 Nov 2010 14:37:04 +0000 http://html5doctor.com/?p=2543#comment-12124 @JJ: No, @type doesn’t do this. No browser looks at it if you send wrong MIME type.

]]>
By: JJ https://stevefaulkner.github.io/html5doctored/your-questions-14/#comment-12119 Sun, 28 Nov 2010 02:30:45 +0000 http://html5doctor.com/?p=2543#comment-12119 I think it’s important to acknowledge that the @type attribute does have at least 2 legitimate purposes: It can be for fallback in case the server isn’t able to send a proper mime type. It can also be used by the user agent to avoid bothering with resources that are using mime types it wouldn’t be able to support.

]]>