W3C home > Mailing lists > Public > www-html@w3.org > December 2001

Re: icons for pages/sites/etc. (was Re: src attribute of IFRAME and FRAME)

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Wed, 12 Dec 2001 09:45:57 +0000
Message-Id: <200112120645.fBC6j1H22386@post.cnt.ru>
To: Frank Tobin <ftobin@neverending.org>
Cc: www-html@w3.org
On Wednesday 12 December 2001 01:50, Frank Tobin wrote:
|   Zoltan Hawryluk, at 10:05 -0500 on 2001-12-07, wrote:
|   > All this talk about images in web pages reminds me of how the <img> tag
|   > has always been restrictive ... in terms of that if the user agent is a
|   > non graphical device, all that would be shown would be the contents of
|   > the "alt" attribute.  This is OK most of the time, but it would be
|   > great to show, say, formatted ASCII Art or any other alternate HTML for
|   > the image.
|
|   This has come up before.  What you want to use is the <object> element,
|   which allows recursive description of 'fallbacks' to use (e.g.,
|   Flash->img->text).

Or better:

SVG->IMG->Text

like this:
<object data="rect-fill.svg" type="image/svg" width="128" height="128">
  <object data="rect-fill.png" type="image/png" width="128" height="128">
     <p>Nice rectangle of blue color</p>
  </object>
</object>

very good in terms of accessibility and to save bandwidth;
rect-fill.svg is included below (just 211 bytes!)
- - -
<!DOCTYPE svg ><svg width="45.1555mm" height="45.1555mm" >
 <rect width="80" x="26" y="26" rx="0" ry="0" height="80" transform="matrix(1 
0 0 1 -2 0)" style="fill:#97bce1;stroke:#011e64;stroke-width:2" />
</svg>
- - -

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Received on Wednesday, 12 December 2001 01:45:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT