XHMTL 1.0 Youtube Video
-
18-10-2022 - |
Question
I've gotten the following code :
<object type="application/x-shockwave-flash" style="width:420px; height:240px;" data="http://www.youtube.com/v/zOETaUx3c4o?color2=FBE9EC&version=3">
<param name="movie" value="http://www.youtube.com/v/zOETaUx3c4o?color2=FBE9EC&version=3" />
<param name="allowFullScreen" value="true" />
<param name="allowscriptaccess" value="always" />
</object><div style="font-size: 0.8em"><a href="http://www.tools4noobs.com/online_tools/youtube_xhtml/"></a></div>
It currently works on Google Chrome and the video does play. However, when doing validation I am being given an error and I can't seem to resolve the issue. Does anyone have any idea why I'm receiving such an error :
Line 92, Column 152: document type does not allow element "object" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag …40px;" data="http://www.youtube.com/v/zOETaUx3c4o?color2=FBE9EC&version=3">
Thanks
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow