W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] ALT and equivalent representation

From: Křištof Želechovski <giecrilj@stegny.2a.pl>
Date: Mon, 28 Apr 2008 21:04:55 +0200
Message-ID: <003601c8a962$c126be10$4d01010a@IBM42F76C011DF>
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@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
Received on Monday, 28 April 2008 12:04:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:02 UTC