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

Re: Giving alternate text semantical meaning

From: Roland Bluethgen <calocybe@web.de>
Date: Mon, 05 May 2003 09:10:11 +0200
Message-ID: <3EB60E53.6060703@web.de>
To: www-html@w3.org


> Now if you were 'experiencing' this webpage with an aural browser, it 
> would just read off 'Acme' as normal text, but what if you could do 
> something like:
>    <img src="company_logo.gif" alt="&lt;h1&gt;Acme&lt;/h1&gt;"/>

You would do that like this:
   <h1><img src="company_logo.gif" alt="Acme" /></h1>

A better example for your idea is the headline
   <h1>A beginner's guide to
     <abbr title="Scalable Vector Graphics">SVG</abbr></h1>

Now imagine again, that you wanted to show this headline in such a fancy 
way that an image is required. Currently you would have to split the 
image in several parts:

     <img src="abeginnersguideto.jpeg" alt="A beginner's guide to " />
     <abbr title="Scalable Vector Graphics">
       <img src="svg.jpeg" alt="SVG" />
   (without spaces between tags)

Not so fine.
Received on Monday, 5 May 2003 03:09:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:03 UTC