[whatwg] Definition of alt= attribute

Anne van Kesteren wrote:
> Quoting Matthew Raymond <mattraymond at earthlink.net>:
>>   Hmm... Is <img> ever non-presentational? Radical thought: Deprecate
>> <img>.
> 
> A company logo?

   You could make an argument that trademarks have semantic value, but
it's kinda weak, because you can identify the company by name as well.
Here's some markup:

| <h1 style="content: url(logo.png)">Company Name</h1>

   (Not sure I got the CSS right, but you get the idea.)

> A picture of a new product some review is about?

   Much better example. That probably is semantic, yes.

   However, is there any situation where <object> couldn't be used
instead of <img>?

Received on Saturday, 21 January 2006 04:20:48 UTC