Compdigitec Labs

« | Home | »

XHTML-compliant way to embed Macromedia Flash

By admin | April 30, 2010

For many years, people have been using complicated, ugly ways to forcibly embed their Macromedia Flash content into their webpages. There have been several ways, usually using the non-standard <embed> element or other fancy IE-only <object> hacks. But now, we have a safe, bug-free, validator-safe way to embed Flash that passes the HTML 5 and XHTML 1.0 standards.

Presenting…

<object type="application/x-shockwave-flash" data="replace_this.swf" width="720" height="540">
    <param name="movie" value="replace_this.swf" />
</object>

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: (X)HTML | 1 Comment »

One Response to “XHTML-compliant way to embed Macromedia Flash”

  1. I need a web hosting and free domain name? | Web Hosting and Web Design For Small Business Says:
    May 6th, 2010 at 5:45 am

    [...] XHTML-compliant way to embed Macromedia Flash at Compdigitec Labs [...]

Comments