W3C home > Mailing lists > Public > www-html@w3.org > November 2003

Re: AW: XHTML 2.0 and hreflang and type

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 13 Nov 2003 07:34:52 +0000 (GMT)
Message-Id: <200311130734.hAD7Yqq01488@djwhome.demon.co.uk>
To: www-html@w3.org

> <span type="image/png, image/gif; q=0.1" src="../images/115">
>  Image #115
> </span>

This will return a GIF if the client believes that GIF is more than
ten times better than PNG, e.g. because it knows it cannot handle
PNG alpha channels and it thinks there is a high risk that one might
be present but coded as a transparent colour index in the GIF.

> <span type="image/png" src="../images/115.png">
>  <span type="image/gif" src="../images/115.gif">

This will return PNG if the client believes that it can handle PNG 
at all.

They are not the same.
Received on Thursday, 13 November 2003 02:34:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:09 UTC