Re: Embed Tag Errors

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 UTC