This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Site Ratings & Reviews > November 2005 > <embed> and other related flash errors in xhtml
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
<embed> and other related flash errors in xhtml
|
|
| Duncan 2005-11-19, 6:34 pm |
| I get a number of xhtml validation errors on two pages in my website
at
www.designlink.co.uk/index.html
and
www.designlink.co.uk/scroller.html
All the other pages seem pretty squeaky clean in transitional xhtml
All the errors reported seem to be in connection with the Flash
component on the index page, but as the html is generated by Flash I
am not sure what to do about these 'errors' - if anything! There does
not seem to be a setting within Flash itself to instruct it to produce
xhtml compliant coding.
Any advice much appreciated.
The errors reported are;
# Error Line 45 column 135: there is no attribute "src".
....color" value="#C4B7AF" /> <embed src="scroller.swf" quality="high"
bgcolor="#
# Error Line 45 column 158: there is no attribute "quality".
..../> <embed src="scroller.swf" quality="high" bgcolor="#C4B7AF"
width="150" he
# Error Line 45 column 173: there is no attribute "bgcolor".
....scroller.swf" quality="high" bgcolor="#C4B7AF" width="150"
height="500" name
# Error Line 45 column 190: there is no attribute "width".
....lity="high" bgcolor="#C4B7AF" width="150" height="500"
name="scroller" type=
# Error Line 45 column 203: there is no attribute "height".
....gcolor="#C4B7AF" width="150" height="500" name="scroller"
type="application/
# Error Line 45 column 214: there is no attribute "name".
....B7AF" width="150" height="500" name="scroller"
type="application/x-shockwave
# Error Line 45 column 230: there is no attribute "type".
....0" height="500" name="scroller"
type="application/x-shockwave-flash" pluginsp
# Error Line 45 column 274: there is no attribute "pluginspage".
....ation/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashpl
# Error Line 45 column 321: element "embed" undefined.
....w.macromedia.com/go/getflashplayer" /></embed>
# Error Line 45 column 329: end tag for element "embed" which is not
open.
....edia.com/go/getflashplayer" /></embed>
To reply by email delete nospam
| |
| Ben Measures 2005-11-19, 6:34 pm |
| On Sat, 19 Nov 2005 12:44:30 +0000, Duncan wrote:
> I get a number of xhtml validation errors on two pages in my website
> at
> www.designlink.co.uk/index.html
>
> [...]
># Error Line 45 column 321: element "embed" undefined.
>...w.macromedia.com/go/getflashplayer" /></embed>
This is the error message indicating the cause of all your validation
problems: there is no element 'embed' in the HTML 4.x (and thus XHTML
1.x) standard.
If you want to be fully XHTML 1.x compliant, use the 'object' element
instead, but beware that compatibility is limited on older browsers.
<http://www.htmlhelp.com/reference/h...ial/object.html>
Hth,
--
Ben M.
To reply directly, remove all occurrences of 'remove' from the email address.
| |
| Duncan 2005-11-19, 6:34 pm |
| Thanks for this Ben. Am I right in thinking that the <embed> command
is/was only for netscape? If so, do you happen to know what version of
netscape recognised the 'object' tag? In other words, how old will an
'old' browser be that cannot cope? (And therefore do I need to care!)
Thanks again
Duncan
On Sat, 19 Nov 2005 13:31:21 GMT, Ben Measures
<saint_abroadremove@removehotmail.com> wrote:
>On Sat, 19 Nov 2005 12:44:30 +0000, Duncan wrote:
>
>
>This is the error message indicating the cause of all your validation
>problems: there is no element 'embed' in the HTML 4.x (and thus XHTML
>1.x) standard.
>
>If you want to be fully XHTML 1.x compliant, use the 'object' element
>instead, but beware that compatibility is limited on older browsers.
>
><http://www.htmlhelp.com/reference/h...ial/object.html>
>
>Hth,
>--
>Ben M.
>
>To reply directly, remove all occurrences of 'remove' from the email address.
>
To reply by email delete nospam
| |
|
|
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|