Forum Moderators: open

Message Too Old, No Replies

Validation

Validation

         

moussa854

7:01 pm on May 27, 2007 (gmt 0)

10+ Year Member



I have left with one error now, the W3C Markup Validation Service showed me an error in the last </object> "end tag for element "object" which is not open". Can you help me remove this error.

CODE:
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="936" height="195"><param name="movie" value="images/banner.swf"/><param name="quality" value="Medium"/> <object data="http://example.com/images/banner.swf" codebase="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="936" height="195"/> <param name="quality" value="Medium"/></object></object>

[edited by: trillianjedi at 7:07 pm (utc) on May 27, 2007]
[edit reason] Examplifying [/edit]

trillianjedi

7:07 pm on May 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You have one too many </object> closing tags at the end of your posted code.

moussa854

7:08 pm on May 27, 2007 (gmt 0)

10+ Year Member



I do have two <object> opening and two closure

trillianjedi

7:16 pm on May 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You do too - sorry, I mis-read that.

Are they meant to be cascaded like that? Should the first be closed before the second is opened?

anax

7:25 pm on May 27, 2007 (gmt 0)

10+ Year Member



The second <object> is written <object />, so it actually has closed itself already.

moussa854

7:32 pm on May 27, 2007 (gmt 0)

10+ Year Member



when I took the last </object> out I had empty page in IE7, it worker with firefox

moussa854

8:20 pm on May 27, 2007 (gmt 0)

10+ Year Member



I opened the second <object> and that solved the problem :)