Re: Why the "Embedding" attribute set? Why not just use "object"?

> On Sun, 25 Jul 2004 00:46:27 +1000, Lachlan Hunt
> <lachlan.hunt@iinet.net.au> wrote:

> > <h src="/images/heading" type="image/png,image/gif">Heading</h>
> >
> > which is better than having to do
> >
> > <h><object data="/images/heading"
> > type="image/png,image/gif">Heading</object></h>

Note that there's no data attribute on object anymore, the latter
example should be:

    <h><object src="/images/heading"
    type="image/png,image/gif">Heading</object></h>

So there aren't two different mechanisms, there is only one mechanism
which is the src attribute.

Paul Crowley <ciphergoth@gmail.com> wrote:

> Why is the first example better than the second?

Use h when your content is a heading.  Use object when your content
is some sort of an object.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Monday, 26 July 2004 03:57:12 UTC