Re: HTML Improvement/Suggestion

Quoting Laurens Holst <lholst@students.cs.uu.nl>:
>> The type attribute, if used to express the Internet media type (MIME 
>> type), reflects a wrong approach. The media type is to be known and 
>> announced by the server that delivers the object. The embedding 
>> document should just reserve space for the object (and contain 
>> fallback content to
>> be presented when the object is not available)
>
> Afaik, the type attribute (or whatever its name may be) in this case 
> means to indicate what types it accepts. So supposedly <object 
> src="bla.html" type="image/*">fallback content</object> would result 
> in the fallback content being shown, unless the server associates the 
> .html extension with an image/ type.

Really? I hope that's not true. Looking at the definition of 
"srctype"[1] (heck,
had it to be renamed?) you might be right. I'd say it is very underdefined
though.


[1]<http://www.w3.org/TR/xhtml2/mod-embedding.html#adef_embedding_srctype>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Monday, 12 December 2005 23:11:53 UTC