E
Eustace
I am trying to make YouTube video code compatible with HTML 4.01 Strict,
but every time I correct some problem it finds more and more problems.
In the following code:
<object width="425" height="344">
<param name="movie"
value="
"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="
"
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
</object>
following their suggestions I enclosed the video in <p></p> and replaced
& with & :
<p>
<object width="425" height="344">
<param name="movie"
value="
"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed
src="
"
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
</object>
</p>
but there are still many more problems:
end tag for element "PARAM" which is not open
…mp;hl=en&fs=1&rel=0"></param>
(3 times)
Attribute "SRC" is not a valid attribute. Did you mean "src"?
<embed
src="
Attribute "TYPE" is not a valid attribute. Did you mean "type"?
…&hl=en&fs=1&rel=0" type="application/x-shockwave-flash"
Attribute "ALLOWSCRIPTACCESS" is not a valid attribute
allowscriptaccess="always" allowfullscreen="true" width="425" height="344"
Attribute "ALLOWFULLSCREEN" is not a valid attribute
allowscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
Attribute "WIDTH" is not a valid attribute. Did you mean "width"?
…owscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
Attribute "HEIGHT" is not a valid attribute. Did you mean "height"?
…lowfullscreen="true" width="425" height="344"></embed>
element "EMBED" undefined. Did you mean "meta" or "em"?
…reen="true" width="425" height="344"></embed>
How can the code be made HTML 4.01 Strict compatible?
emf
but every time I correct some problem it finds more and more problems.
In the following code:
<object width="425" height="344">
<param name="movie"
value="
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
</object>
following their suggestions I enclosed the video in <p></p> and replaced
& with & :
<p>
<object width="425" height="344">
<param name="movie"
value="
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed
src="
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
</object>
</p>
but there are still many more problems:
end tag for element "PARAM" which is not open
…mp;hl=en&fs=1&rel=0"></param>
(3 times)
Attribute "SRC" is not a valid attribute. Did you mean "src"?
<embed
src="
Attribute "TYPE" is not a valid attribute. Did you mean "type"?
…&hl=en&fs=1&rel=0" type="application/x-shockwave-flash"
Attribute "ALLOWSCRIPTACCESS" is not a valid attribute
allowscriptaccess="always" allowfullscreen="true" width="425" height="344"
Attribute "ALLOWFULLSCREEN" is not a valid attribute
allowscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
Attribute "WIDTH" is not a valid attribute. Did you mean "width"?
…owscriptaccess="always" allowfullscreen="true" width="425"
height="344"></embed>
Attribute "HEIGHT" is not a valid attribute. Did you mean "height"?
…lowfullscreen="true" width="425" height="344"></embed>
element "EMBED" undefined. Did you mean "meta" or "em"?
…reen="true" width="425" height="344"></embed>
How can the code be made HTML 4.01 Strict compatible?
emf