When adding swf in a page as code below:
<embed height="260" width="400" name="plugin" src="myswf.swf" type="application/x-shockwave-flash" />
We got the error in W3C: http://validator.w3.org
# Error Line XXX, column XXX: element "embed" undefined .
Why?
Because syntax "embed" is not supported in W3C. Ok, now we try another way to resolve it.
try this code:
<object width="400" height="260" data="myswf.swf" type="application/x-shockwave-flash">
<param value="myswf.swf">
<img width="400" height="260" alt="Flash is not supported!" src="noflash.gif">
</object>