The <embed> tag was introduces by Netscape Navigator 2, but it was
never part of any HTML/XHTML specification. Therefore, code containing
this tag will never be successfully validated by the W3C validator.
There are a couple of ways to get around this problem:
- You could use the object tag, which IS part of the
HTML/XHTML spec, to include the Flash movie.
in HTML pages, here:
- AzizAvenue: Validating W3C Standards with Flash
You will note that the page itself contains a flash movie,
and is still XHTML compliant.
solution for your problem:
- CASE STUDY: How to make Macromedia Flash accessible
- Using the OBJECT tag
Drew McLellan provides information on how you can create valid
standard compliant pages containing flash movies, in the following
- A List Apart: Flash Satay
If you use Flash MX for development, then you will find the
following template, based on the above article by Dave, useful:
- webqs.com: Publishing XHTML 1.0 compliant code from Flash MX
Hope this helps.
If you need any clarifiacations, just ask!
Google/Google Answers Search Terms Used:
flash XHTML validate
Clarification of Answer by
26 Jul 2003 09:43 PDT
The techniques mentioned in the answer will work for HTML 4.01
method to embed flash in an HTML page, and still be valid HTML 4.01
- Redman Jones
Redirecting Netscape users to a different non-compliant page would
also work, though I would not select it as the primary solution due to
the following reasons:
- More Work. It will be upto you to maintain two versions of the same
page, and make sure that both contain the same updated information.
- Page redirects: Most search engines are unable to follow page
redirects based on browser types, so your redirected page may not be
indexed by search engines.
- Since the Netscape page would be invalid HTML 4.01, you would no
longer be able to claim HTML 4.01 compliance for your entire site.
Flash satay method first. If these methods fail to satisfy your needs
for some reason, you can try out the page redirect method.
Hope this helps.
If you need any clarifications, just ask!