We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

brent-man on 12/15/07


Tagged

valid html xhtml flash


Versions (?)


Who likes this?

13 people have marked this snippet as a favorite

basicmagic
vali29
marcio
tvdeyen
marteki
oamaxa
Steffen82
Wiederkehr
markor
gAmUssA
Minras
Kerrick
LeeRJohnson


Valid XHTML 1.1 Strict Flash Embed


Published in: HTML 


Apparently, it must be embeded in a div tag...Changed to reflect that.

  1. <div>
  2. <object type="application/x-shockwave-flash" data="header.swf" width="700" height="116">
  3. <param name="movie" value="header.swf" />
  4. <img src="header.gif" width="700" height="116" alt="header" />
  5. </div>

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: Kerrick on September 12, 2008

Thank you very much, this is going to help so many people trying to validate and still have flash on their site.

You need to login to post a comment.