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

Re: Embed Tag Errors

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 29 Jul 2004 01:09:20 +0300 (EEST)
To: Neo Geek <neogeek@pixelgeek.net>
Cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0407290105090.7053@korppi.cs.tut.fi>

On Wed, 28 Jul 2004, Neo Geek wrote:

> I noticed that when I validated the pages on my web site that there
> were an immense amount of errors specific to the embed tag and their
> attributes. Is there an alternative or fix to these errors?

It depends on what you are using the embed element for. Theoretically,
the object element is a general-purpose element that replaces the
nonstandard embed element, among other things. In practice, you will
probably find browser support to embed better than support to object.

If you decide to keep using embed, you could validate your page against a
custom DTD that permits it, such as
http://sandbox.bednarz.nl/sgml/dtd/tagsoup.dtd
Your document would thereby _not_ conform to HTML specifications any more
than it does now; but you might find it easier to use a validator to catch
typos and other errors in markup that way.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Wednesday, 28 July 2004 18:09:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT