homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Validation Errors With Flash
document type does not allow element "noscript" here

5+ Year Member

Msg#: 4136845 posted 10:00 pm on May 21, 2010 (gmt 0)

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 &amp; East Anglia! <br />
<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 />
<br />
<script type="text/javascript">
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" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="graphics/banners/Slide1/swf" width="300" height="250">
<p>Alternative content</p>
<!--[if !IE]>-->
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 />
<br />
<span class="style1">ArcAngel - Giving Your Wedding The Wings It Deserves!<br />
<br />



WebmasterWorld Senior Member demaestro us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4136845 posted 11:47 pm on May 21, 2010 (gmt 0)

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">
<html xmlns="http://www.w3.org/1999/xhtml">

Post what you have.


5+ Year Member

Msg#: 4136845 posted 9:34 am on May 22, 2010 (gmt 0)

Hi there,

The document type the page is set to exactly what you've displayed in your post.



WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4136845 posted 7:07 pm on May 22, 2010 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved