Re: Linking to binary URLs

Thus the advantage of setting the type attribute is mainly 
in automatically retrieved objects (e.g., OBJECT) to save the 
browser time and effort to decide whether it can display the 
object or not.
In this regard I wonder why the IMG element has no type attribute.

In regular links (anchors) it maybe useful mainly as a fall back 
to encounter the possibility that the server is misconfigured 
and sending wrong MIME types. However authors should not count on 
the type attribute as most browsers do not recognize it. 

It may also save some time to the user as the browser may alert 
the user of the type when "clicking" before the document is 
retrieved. However authors should warn the users of the type in the text 
of the document to avoid surprises.

Nir.

> So there would be advantage in setting TYPE attributes, in that the
> file wouldn't need to be downloaded from the server (to get the
> content-type HTTP header) in order to determine that it can't be
> displayed by the browser.
> 
> --
> Kynn Bartlett  <kynn@idyllmtn.com>             http://www.idyllmtn.com/~kynn/
> Chief Technologist & Co-Owner, Idyll Mountain Internet; Fullerton, California
> Enroll now for my online stylesheets (CSS) class! http://www.hwg.org/classes/
> The voice of the future?   http://www.hwg.org/opcenter/w3c/voicebrowsers.html

Received on Thursday, 1 October 1998 06:22:15 UTC