[whatwg] ALT and equivalent representation

Křištof Želechovski giecrilj at stegny.2a.pl
Mon Apr 28 12:04:55 PDT 2008


What is the advantage of cutting an image to parts 
and having the browser show them as one by putting them aside?  
I would rather use one big image in the first place.
Chris

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Shannon
Sent: Monday, April 21, 2008 3:18 AM
To: WHAT working group
Cc: Bill Mason; Smylers
Subject: Re: [whatwg] ALT and equivalent representation

Fallback for current browsers is something I overlooked but it is easy 
to do:

<altgroup id="hippo" value="Hippopotamus">
<img src="hippo_head.png" altgroup="hippo" alt="Hippopotamus"><img 
src="hippo_tail.png" altgroup="hippo">

With the alt simply being overridden by altgroup in a HTML5 browser.


Shannon





More information about the whatwg mailing list