|Validation Errors With Flash|
document type does not allow element "noscript" here
Can anyone help me please!
I'm currently validating a page to W3C and it's coming up with 1 error: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
After doing some investigating it seams that I cannot embed a flash image within a <p> element. I've searched the net but cannot find an answer as to how to resolve this issue, does anyone know if there is a fix to this or can tell me what i've done wrong?
This is the code:
<td valign="top" class="maininner"> <p>Hello and welcome to the website for ArcAngel DJ Entertainment covering Norwich, Norfolk & East Anglia! <br />
At ArcAngel, the number one priority for us is you and your wedding reception, from the first dance right through until the end of your special night. <br />
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','300','height','250','align','right','class','slideborder','src','graphics/banners/Slide1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','graphics/banners/Slide1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="250" align="right">
<param name="movie" value="graphics/banners/Slide1.swf" />
<object type="application/x-shockwave-flash" data="graphics/banners/Slide1/swf" width="300" height="250">
Our enthusiasm, experience, professional and friendly approach is what we pride ourselves on and will ensure that your evening is everything you wanted it to be. We will work closely with you both carefully selecting tracks that you would like to hear over the course of the evening that may be special to you. We can also cover specific music genres that you might prefer, we have a massive music library full of hits from the past five decades and will work in and around your choices throughout the evening to ensure that the dance floor is very busy! We will contact your chosen venue directly and will discuss with them set up arrangements so that you have nothing to worry about which will distract you from the perfect day. We have all appropriate insurances and liability covers in place. <br />
<span class="style1">ArcAngel - Giving Your Wedding The Wings It Deserves!<br />
What is your document type set to?
Go to the very top of the source.
Do you have anything like this?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Post what you have.
The document type the page is set to exactly what you've displayed in your post.
You need to wrap the script in CDATA . . . it's easy to find, I won't show you how, because you should really look into SWFObject [code.google.com] to deploy your flash. Take a half hour to understand how it works, you'll have an accessible alternate content document in about ten minutes and it will validate just fine.