Re: Support Existing Content

On 5/1/07 6:49 PM, "James Graham" <jg307@cam.ac.uk> wrote:

> Philip & Le Khanh wrote:
>> 
>> 
>> 
>> Maciej Stachowiak wrote:
>> 
>>> <http://www.whatwg.org/specs/web-apps/current-work/#the-img>
>>> 
>>> "The img element represents a piece of text with an alternate
>>> graphical representation. The text is given by the alt attribute,
>>> which must be present, and the URI to the graphical representation of
>>> that text is given in the src attribute, which must also be present.
>> 
>> A more contorted definition would be hard to conceive.  The graphical
>> representation is referred to in the prose as "alternate", yet
>> the ALT attribute specifies the text.  If the semantics of IMG
>> were really to be as proposed, a more natural representation
>> would be :
>> 
>>     <IMG alt="http://www.whatwg.org/logo.png">
>>         The WHATWG logo
>>     </IMG>
> 
> Indeed Maciej has raised this very issue on the WHATWG list. However
> your proposed solution is not backward compatible and so will not be
> implemented in UAs.


Isn't it possible to use the object/embed tag to insert an image and have
the fallback content/text within?

<object src="photo.jpg">this is a photo</object>


-- 
::   thyme online ltd
::   po box cb13650  nassau  the bahamas
::   website: http://www.thymeonline.com/
::   tel: 242 327-1864  fax: 242 377 1038

Received on Wednesday, 2 May 2007 17:23:33 UTC