There was a description of using creative styles a few years ago. I think it 
was part of building bullet proof web sites.
The theory is that if you had an image with text (fancy header), it would be 
nice to still have some styles associated with the text that is displayed if 
the image is broken or turned off. So the markup was
<h1><img src="header-with-text.png" alt="this is my header"/><h1>

Now the CSS would offer some styles to the H1 so the text had some nifty 
colors, fonts, etc. 

Ted

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Stuart Foulstone
Sent: Saturday, November 13, 2010 4:06 AM
To: [email protected]
Subject: Re: [WSG] best formatting for alt text


Or rather, start with the the semantic structure of the page, then insert
the image into the structure appropriately.


On Sat, November 13, 2010 1:46 am, Christian Montoya wrote:
> On Fri, Nov 12, 2010 at 8:36 PM, Patrick H. Lauke
> <[email protected]> wrote:
>> On 13/11/2010 01:23, cat soul wrote:
>>>
>>> Right..I noticed this while playing around, and I wondered whether it
>>> represents an opportunity by making sure that it has some desired
>>> formatting, or whether those who rely upon alt information just want
>>> normal, smallish text.
>>
>>  so if the image was, for instance, a heading (not doing any
>> css image replacement, just putting straight images in the markup), then
>> obviously the entire image would be wrapped in the appropriate heading
>> element.
>
> Hear, hear. If you are using images for text, you should still wrap
> them semantically.
>
> --
> --
> Christian Montoya
> mappdev.com :: christianmontoya.net
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [email protected]
> *******************************************************************
>
>




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to