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

zensir on 09/01/06


Tagged

flash webstandards validation


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

jonhenshaw
dojob


Flash Satay: Embedding Flash While Supporting Standards


Published in: HTML 


URL: http://www.alistapart.com/articles/flashsatay/

by Drew McLellan

I’ve worked with Flash for several years and have always been slightly dissatisfied with the markup needed to embed a movie in web pages. When I recently published a site in XHTML, my dissatisfaction with the markup grew as I realized that it simply wasn’t valid in this context and was bloating my pages to unacceptable levels. A leaner, standards-compliant method of embedding Flash movies was called for.

  1. <object type="application/x-shockwave-flash"
  2. data="movie.swf"
  3. width="500" height="500" >
  4. <param name="movie"
  5. value="c.swf?path=movie.swf" />
  6. <img src="noflash.gif"
  7. width="100" height="100" alt="Flash Plugin Required" />

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: dojob on September 2, 2006

works everywhere?

You need to login to post a comment.