W3C home > Mailing lists > Public > www-html@w3.org > July 2004

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

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Mon, 26 Jul 2004 16:56:29 +0900 (JST)
Message-Id: <20040726.165629.28786353.mimasa@w3.org>
To: ciphergoth@gmail.com, www-html@w3.org

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:00 GMT