Pages

Subscribe:

Ads 468x60px

Saturday, January 22, 2011

Embedding SWF with valid W3C HTML code

This page show an example how make your Flash pages validate to comply with webstandards. This code for Flash (SWF) validates in compliance with web standards set by W3C. This code can be used in XHTML 1.0 Strict and is 100% valid. It degrades to GIF image if Flash plugin is not available and HTML + CSS stays valid.

This code will allow you to embed flash on websites and those sites will validate on w3c validator.

<object data="flash/name.swf" type="application/x-shockwave-flash" width="850"
height="200" style="outline:none;">

<param name="movie" value="flash/name.swf"/>
<param name="quality" data="high"/>
<param name="wmode" data="opaque"/>
</object>

1 comments:

Swapna said...

Really it is very useful code for HTNL fresher candidates.

Post a Comment