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

Lachlan Hunt lachlan.hunt at lachy.id.au
Fri Apr 8 04:10:04 PDT 2005

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://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox

More information about the whatwg mailing list