Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.