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

[whatwg] <p> elements containing other block-level elements

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 08 Apr 2005 21:10:04 +1000
Message-ID: <4256668C.7030201@lachy.id.au>
Anne van Kesteren wrote:
> Lachlan Hunt wrote:
>> <p>...
>>   <object type="image/png" data="list.png"><ol>...</ol></object>
>> <p>
> 
> Why would you replace text with an image here?

It was an example of how the markup Ian provided would not be an abuse 
of the object element.  However, there is a perfectly valid reason for 
it.  The image could be a scanned in image of a handwritten shopping 
list (or whatever), and the list within is just the alternate content.

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Friday, 8 April 2005 04:10:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC