websitedevelopment icon
2nd
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:

SociBook del.icio.us Digg Facebook Google Yahoo Buzz StumbleUpon

Related posts:

  1. Nested Lists in XHTML


MSN Contact: contact [at] danielgibbs.net



2 Comments

  1. Birgit-Tiez 29 July 2009 7:47 pm

    Damn, that sound’s so easy if you think about it.

  2. Gibbs 1 August 2009 12:40 pm

    Yep, as with most things when it comes to web designing in strict! heh

TrackBack URL

Leave a comment