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>

 

Cheers! We done it in W3C now!!!

相关文章:

  • 2021-06-10
  • 2022-12-23
  • 2022-01-22
  • 2021-06-22
  • 2022-02-28
  • 2021-09-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-04
  • 2021-12-28
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案