- From: Orion Adrian <oadrian@hotmail.com>
- Date: Tue, 10 Feb 2004 14:24:11 -0500
- To: www-html@w3.org
>| <p src="holiday.png" type="image/png"> >| <span src="holiday.gif" type="image/gif"> >| An image of us on holiday. >| </span> >| </p> >| >| This is equivalent to: >| >| <object data="holiday.png" type="image/png"> >| <object data="holiday.gif" type="image/gif"> >| An image of us on holiday. >| </object> >| </object> > >... but they're not equivalent. In the first example, "An image of us on >holiday." is a paragraph. In the second example, it's an unspecified blob >of text. > >That said you do have a point about one thing: why have both 'data' and >'src' attributes: they both have the same meaning. Perhaps rename the >'src' attribute on all elements to 'data'? > Ok my example isn't quite the same, but it can be easily make the same. The example should have read: <object data="holiday.png" type="image/png"> <object data="holiday.gif" type="image/gif"> <p>An image of us on holiday.</p> </object> </object> Now it is a paragraph. Or similarly a table in the table example. Orion Adrian _________________________________________________________________ Optimize your Internet experience to the max with the new MSN Premium Internet Software. http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/
Received on Tuesday, 10 February 2004 14:24:41 UTC