redbeth
09-10-2002, 08:55 PM
Is it possible to have Flash on a page and have the HTML valid?
When testing for validity, I get the following results:
Line 20, column 15:
<embed src="flash/fade2blk.swf" quality="high" bgcolor="#000000" w ...
^Error: there is no attribute "src" for this element (in this HTML version)
Line 20, column 35:
... d src="flash/fade2blk.swf" quality="high" bgcolor="#000000" ...
^Error: there is no attribute "quality" for this element (in this HTML version)
Line 20, column 35:
... de2blk.swf" quality="high" bgcolor="#000000" width="540" hei ...
^Error: there is no attribute "bgcolor" for this element (in this HTML version)
Line 20, column 50:
... e2blk.swf" quality="high" bgcolor="#000000" width="540" height="180" t ...
^Error: there is no attribute "width" for this element (in this HTML version)
Line 20, column 50:
... ality="high" bgcolor="#000000" width="540" height="180" type="applicat ...
^Error: there is no attribute "height" for this element (in this HTML version)
Line 20, column 50:
... " bgcolor="#000000" width="540" height="180" type="application/x-shock ...
^Error: there is no attribute "type" for this element (in this HTML version)
Line 20, column 50:
... type="application/x-shockwave-flash" pluginspage="http://www.macromed ...
^Error: there is no attribute "pluginspage" for this element (in this HTML version)
Line 20, column 50:
... download/index.cgi?P1_Prod_Version=ShockwaveFlash">
^Error: element "embed" not defined in this HTML version
Or am I stuck with invalid code when incorporating Flash?
When testing for validity, I get the following results:
Line 20, column 15:
<embed src="flash/fade2blk.swf" quality="high" bgcolor="#000000" w ...
^Error: there is no attribute "src" for this element (in this HTML version)
Line 20, column 35:
... d src="flash/fade2blk.swf" quality="high" bgcolor="#000000" ...
^Error: there is no attribute "quality" for this element (in this HTML version)
Line 20, column 35:
... de2blk.swf" quality="high" bgcolor="#000000" width="540" hei ...
^Error: there is no attribute "bgcolor" for this element (in this HTML version)
Line 20, column 50:
... e2blk.swf" quality="high" bgcolor="#000000" width="540" height="180" t ...
^Error: there is no attribute "width" for this element (in this HTML version)
Line 20, column 50:
... ality="high" bgcolor="#000000" width="540" height="180" type="applicat ...
^Error: there is no attribute "height" for this element (in this HTML version)
Line 20, column 50:
... " bgcolor="#000000" width="540" height="180" type="application/x-shock ...
^Error: there is no attribute "type" for this element (in this HTML version)
Line 20, column 50:
... type="application/x-shockwave-flash" pluginspage="http://www.macromed ...
^Error: there is no attribute "pluginspage" for this element (in this HTML version)
Line 20, column 50:
... download/index.cgi?P1_Prod_Version=ShockwaveFlash">
^Error: element "embed" not defined in this HTML version
Or am I stuck with invalid code when incorporating Flash?