2nd
Jul 09
Jul 09
Embedding Flash with valid XHTML Strict
Posted Thursday 2nd July 2009
I’m not much of a Flash person myself but after recently re-designing a website I came across some embedded Flash files.
After performing a general tidy up of the markup (the content had to be maintained) I noticed that the markup for the embedded flash didn’t validate in XHTML transitional let alone XHTML Strict.
After some playing around, and narrowing down the markup, the following flash XHTML markup validates as Strict.
1 2 3 | <object type="application/x-shockwave-flash" data="flash_directory/flash_file.swf" width="512" height="256"> <param name="movie" value="flash_directory/flash_file.swf" /> </object> |
Bookmark or share this page:
Related posts:
MSN Contact: contact [at] danielgibbs.net
Dan Gibbs is a web developer, designer and SEO consultant involved in devon web design.






Birgit-Tiez 29 July 2009 7:47 pm
Damn, that sound’s so easy if you think about it.
Gibbs 1 August 2009 12:40 pm
Yep, as with most things when it comes to web designing in strict! heh