FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Need help with site getting error on http://validator.w3.org

 


timerecords
Hi all,

I've putted my url of my website in: "http://validator.w3.org/"
and it gaved me these errors:

Code:

1# Error  Line 17 column 16: there is no attribute "src".

    <embed src= "swf/TimeRecords_MP3PLAYER.swf" quality="high" pluginspage="http

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


2# Error Line 17 column 56: there is no attribute "quality".

...f/TimeRecords_MP3PLAYER.swf" quality="high" pluginspage="http://www.macromedi


3# Error Line 17 column 75: there is no attribute "pluginspage".

...AYER.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashpl


4# Error Line 17 column 126: there is no attribute "type".

...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="8


5# Error Line 17 column 164: there is no attribute "width".

...application/x-shockwave-flash" width="804" height="31"></embed>


6# Error Line 17 column 177: there is no attribute "height".

...-shockwave-flash" width="804" height="31"></embed>


7# Error Line 17 column 181: element "embed" undefined.

...ckwave-flash" width="804" height="31"></embed>

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

    * incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
    * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.


8# Error Line 26 column 164: element "embed" undefined.

...kwave-flash" width="820" height="220"></embed>


9# Error Line 34 column 20: there is no attribute "bgcolor".

    <iframe bgcolor="white" src="http://120734.shoutboxes.com/?extcss=http://dom


10# Error Line 62 column 69: required attribute "alt" not specified.

... src="images/Welkom.jpg" width="286" height="84"><br />

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


11# Error Line 62 column 70: end tag for "img" omitted, but OMITTAG NO was specified.

...rc="images/Welkom.jpg" width="286" height="84"><br />

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


12# Info Line 62 column 17: start tag was here.

  <div id="div5"><img src="images/Welkom.jpg" width="286" height="84"><br />

13# Error Line 87 column 165: element "embed" undefined.

...ckwave-flash" width="799" height="27"></embed>


When I saw all these errors I looked at them and tryed to figure it out but nothing, I can't understand what's wrong with these errors or why I get these errors.

Please someone help me or just tell me where to look.

Thanks in advance,
Time Records
User_f_ps_other
Because your website is Xhtml the embeding markup (<embed> Element ) is not part of the XHTML specification and will prevent your page from validating. Visit the following article Embedding Flash While Supporting Standards for more information as shown below.

http://alistapart.com/articles/flashsatay/

Here is the code that you may want to use

Code:
<object type="application/x-shockwave-flash
data="c.swf?path=movie.swf"
width="400" height="300">
<param name="movie"
value="c.swf?path=movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>


Next change all your code which is uppercase to lowercase this will stop a few more errors from appearing.

You will find that using Cascading Style Sheets (CSS) will help cut out a lot more errors and keep you website cleaner.
timerecords
User_f_ps_other wrote:

You will find that using Cascading Style Sheets (CSS) will help cut out a lot more errors and keep you website cleaner.


I'm using CSS and I also validated my CSS file and it gaved me no errors but I'm gonna try that about embded shizzle.

Thanks,
Time Records
timerecords
User_f_ps_other wrote:
Because your website is Xhtml the embeding markup (<embed> Element ) is not part of the XHTML specification and will prevent your page from validating. Visit the following article Embedding Flash While Supporting Standards for more information as shown below.

http://alistapart.com/articles/flashsatay/

Here is the code that you may want to use

Code:
<object type="application/x-shockwave-flash
data="c.swf?path=movie.swf"
width="400" height="300">
<param name="movie"
value="c.swf?path=movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>



Ok, I've changest alot of thing and now I just get 3 errors.

Here are the errors I get now:
Code:

1# Error  Line 24 column 28: "c.swf" is not a member of a group specified for any attribute.

width="804" height="31"c.swf?path=movie.swf">


2# Error Line 37 column 29: "c.swf" is not a member of a group specified for any attribute.

width="820" height="220"c.swf?path=movie.swf">


3# Error Line 102 column 28: "c.swf" is not a member of a group specified for any attribute.

width="799" height="27"c.swf?path=movie.swf">


Could you (or someone else) explane to me why I get those errors?

Thanks in advance,
Time Records
Saber
just by looking at your post and the quote in it I think you sorta answered your own question,

Quote:
value="c.swf?path=movie.swf" />

and you have
Quote:
height="220"c.swf?path=movie.swf">


so my guess would be to change that to,
Quote:
height="220" value="c.swf?path=movie.swf" />
User_f_ps_other
Quote:
Ok, I've changest alot of thing and now I just get 3 errors.

Here are the errors I get now:
Code:

1# Error  Line 24 column 28: "c.swf" is not a member of a group specified for any attribute.

width="804" height="31"c.swf?path=movie.swf">


2# Error Line 37 column 29: "c.swf" is not a member of a group specified for any attribute.

width="820" height="220"c.swf?path=movie.swf">


3# Error Line 102 column 28: "c.swf" is not a member of a group specified for any attribute.

width="799" height="27"c.swf?path=movie.swf">


Could you (or someone else) explane to me why I get those errors?



Ok try the following code as shown below instead.

Code:
<object type="application/x-shockwave-flash" data="flash/monitor.swf" width="250" height="236">
        <param name="movie" value="flash/monitor.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
  </object>



So all you need to change is the following as shown in red below

<object type="application/x-shockwave-flash" data="flash/monitor.swf" width="250" height="236">
<param name="movie" value="flash/monitor.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
</object>
timerecords
Thanks to both of you for helping me.
I've fixed and scanned my pages and it has no errors anymore Cool
Thanks alot.

Now my other question is....

In FF (FireFox) my website is nice, as how it belong to be, but in IE (Internet Explorer) the middle squire isn't in the middle but below the 2 other squires.
How can and must I fix it?
If you guys could help me I'll really appriciate it.

Thanks in advance,
Time Records
cavey
IE if often tricky. Probably the middle squire is to big to fit between the other two, so it is pushed below them. Try make the middle one smaller.

or:
Browsers have their own default margin and padding on many elements you would not even think of. This can make the "puzzle" fail because a margin you did not think of, suddenly is added in one browser. Now things don't fit anymore. the width of the "wrapper"-div is smaller then the contents. To prevent this from happening, you can set all margin and padding to zero for all elements at the top of your style sheet. * { margin: 0; padding: 0}
You must after that do some adjustments to make it the way it was before, but it will save you some trouble later.
timerecords
Thanks man, but you said at top of your style sheet. But then all other margins etc won't work anymore right?

EDIT ---
I've tryed everything but nothing. The middle squire is below the left squire even if I delete the right squire (so then he got enought room to go next to the left one).
So I'm very hopeless and need help, anyone...I've tryed everything...if someone could fix it I am prepared to give even frih$ Crying or Very sad
cavey
I'm sure the members here can more easily help you if you give us the url of your webpage.
timerecords
cavey wrote:
I'm sure the members here can more easily help you if you give us the url of your webpage.


My website is: "http://www.timerecords.frih.net/index2.html"

Or you could check my signature ofcourse Wink
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.