HTML - Help With Validation Errors Please
I am having one of those 'senior moments' again.
please could someone take a look at http://www.telfordsteamrailway.co.uk...ers/exams.html I have used both W3C and Page Valet and both give 4 errors - 2 of them - width and height - yeah OK I need to do a bit more with the CSS. But the other 2 error have me baffled Quote: Line 59, Column 66: there is no attribute "name" . …/newstructure/members/exams.php" method="get" name="searchForm"> This is in a <form - there are 6 forms on this page, all with the same construct, but this is the only one that fails - it is also the only one with "get". I know'name' is deprecated on xhtml strict - but why is this th only one to fall over (i wii be adding 'id' - but like to hav e 'id' and 'name') Quote: Line 67, Column 45: there is no attribute "onClick" . …type="button" value="Search" onClick='submitActForm(document.searchForm, This is in an <input type="button" . There are 10 of these all with onClick - but this is the only one that fails - should that be 'onclick'? = but why is this the only one to fail? DUHH - I'm feeling a little thick this morning Advice appreciated Similar TutorialsCan someone help me with my validation errors , it be drivingme up the head. line 25 column 17 - Warning: <td> proprietary attribute "background" line 71 column 3 - Warning: missing </table> line 331 column 15 - Warning: <tr> proprietary attribute "height" Any help would be appericated from birch. I have Validation Errors on my site. I dont know where to start looking for them. Could someone help please? :-D http://validator.w3.org/check?uri=ht...idator%2F1.654 I am a total noob so I will need quite a bit of help trying to correct the problems. The site was built with wordpress. I know how to use the basics of dreamweaver and crimson Editor if that helps. TIA Paul Alright, I'm really confused now. I'm getting some pretty strange errors when validating my page. If you want to look at actual ...the address is http://www.getthegirl101.com in case you want to see the validation yourself. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> Since when is element<meta> not allowed here? Since when is style element not allowed here? <style type="text/css"> Since when is body not allowed here? </style> </head> <body> </body> </html> Dynamicdrive.com is where I got my li'l css menu and they recommended using this doctype. What doctype should I try instead because this one is definitely not working?! Hello, I have produced a form which can be seen at this url: http://www.magicalwonders.com/Freestufftest5.html but the code is failing to valididate and is producing two errors: Quote: Line 33, Column 29: "INPUT" is not a member of a group specified for any attribute. <select name="country" input type='text' size='1'> Line 33, Column 34: there is no attribute "TYPE". <select name="country" input type='text' size='1'> As I need to include "Input" and "Type" in order for the form to work I'm not sure how to produce a form that validates! Can anyone point me in the right direction? Many thanks, Myles I am getting better at handling the validation errors, what I would like to know now is what's the easiest way to locate the line specified in the error, for example if it says line 122 column 12? How do you guys get to line 122, do you count line by line like me or is there an easier way? Also I am assuming that the white spaces between all lines are not counted in the validation? I recently hired a freelancer to validate all the code for my Wordpress e-commerce website (http://www.projectdisobey.com/disobeyclothing) He told me that he had finished validating everything, but when I tested each page out using the validation service at http://validator.w3.org/, I came across a whole load of validation errors (http://imageshack.us/f/836/validationerrors.jpg/). I notified the freelancer of this and his reply was: "The errors left are because of javascript in the source code. The website http://validator.w3.org checks the source code of the page and gives errors on javascript because the checker is not for Javascript. It checks it as a html/css and gives errors." Since I am no expert in this field, can anybody tell me from glancing over the list of validation errors (http://imageshack.us/f/836/validationerrors.jpg/) whether he is speaking the truth or not? If any of the errors have nothing to do with Javascript and are easy to resolve, would anybody mind advising me how to do so? I'd be extremely appreciative. Thanks guys... I'm not sure what these errors mean. I am using HTML 4.01 Strict! Errors highlighted in red. 1) Line 8, Column 77: NET-enabling start-tag requires SHORTTAG YES. js/ddaccordion.js" type=text / javascript></script> The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML. 2) Line 2, Column 12: there is no attribute "XMLNS". <html xmlns= " http://www.w3.org/1999/xhtml" xml:lang="en"> 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).... 3) Line 2, Column 52: there is no attribute "XML:LANG". <html xmlns="http://www.w3.org/1999/xhtml" xml:lang= " en"> 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).... Seem to be getting W3C errors on my Joomla based website. At a loss on how to make it compliant. The address is www.mph-uk.com and if you click the W3C checker on the right hand side, it should bring up three errors. Any advice is appreciated. Some of the items are coming from templates and modules. Hi I am trying to make this pop up effect pass the W3C validation test This is the page in question: http://www.newmedia.lincoln.ac.uk/je...sts/popup.html This is a direct link to the W3C XHTML Validation results: http://validator.w3.org/check?verbos...s%2Fpopup.html Please can someone help? Hello, I made a site and it has XHTML Validation Errors. http://validator.w3.org/check?uri=ht....ens.org.in%2F Here is the link. Site is http://www.new.ens.org.in Can you please help me solve those errors? Hi, When I enter submit search terms into the search bar on my site (http://www.projectdisobey.com/disobeyclothing/), and then put the resulting page through a validation test at http://validator.w3.org/check, I get the following validation errors: (See attachment) I know that all these errors are resulting from an unencoded ampersand. My question is, which WordPress file do I need to go into in order to change the '&' to a '&'? Can anybody help me? Thanks I am trying to make my contact page pass the W3C validation test. I have tried putting the form names (your name, your email and subject) in a p class with a defined font family and size because I think this is what W3C is telling me what to do but I still get lots of errors.. This is my form: HTML Code: <form method="post" action="contact.php">your name:<br /> <input type="text" name="name" size="19"><br />your email:<br /> <input type="text" name="email" size="19"><br />subject:<br /> <textarea rows="5" name="message" cols="30"></textarea> <br /> <input type="submit" value="submit" name="submit"> </form> Please can someone shed some light onto this? Hello Everyone I've put together my very first forum and i admit, it hasn't been easy. But when going to these validation websites, i'm getting a ton of errors. I've searched and searched but with my inexperience, just can't figure out how to fix these errors. I don't even know the proper files to look in that are producing these errors. If you could help me, it would be a big relief. Thank You My Site - http://www.tbredjkie.co.cc I also get big error when browsing my site with IE8. Sometimes it crashes. http://validator.w3.org/check?uri=ht...este_mennesker Hi, I'm having a few problems viewing a page in Firefox and IE. It works fine in Safari at the moment. Can you point me in the right direction of what to do? I have run the W3C Validator through it and it has come up with a few errors. I would be grateful if you could breifly explain one or two of the errors? Error 1 and 2 for example? I tried altering the code but I could not get the correct result. Thanks in advance Tom http://www.website-test.net/what_new Hello again everyone: Thanks to those that help with advice regarding my drop-down box issue earlier. I'm posting this thread now because I have a couple different errors occuring on pages, and was wondering if anybody could help me to clear them up. Here are the error descriptions below: Line: 2 Char: 1 Error: Syntax error Code: 0 URL: main index page!!! (this error popped up upon loading site) Line: 12 Char: 81 Error: 'top.d.getElementById(...)' is null or not an object Code: 0 URL: main index page!!! (this error popped up upon loading site) Line: 37 Char: 1 Error: 'top.w.frames.0.length' is null or not an object Code: 0 URL: main index page!!! (this error popped up upon clicking enter link) My "main index page" is of course the very first page people see. This page is simply just a disclaimer statement, followed by a link to direct the visitor to the next page, or "home" page. When I mention "enter link" above, I am referring to this only link on the page...any ideas from anyone on how to get to the bottom of this one? Thanks... I've got 2 pages with in total 8 errors I can't get them fixed. Could someone please help me? first page: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.don.alaerts-work.be%2Faccount.php%3Fuser%3Dlisa&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1 &group=0&verbose=1&user-agent=W3C_Validator%2F1.2#line-81 and second page: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.don.alaerts-work.be%2Freageer.php%3Fuser%3Ddon%26id%3D40&charset=%28detect+automatically%29&doctype=Inline&ss=1& outline=1&group=0&verbose=1&user-agent=W3C_Validator%2F1.2 I've tried everything. All my other pages are valid except those 2. Kind regards & thanks in advantage, Hey, I just ran my index page through W3C validation and i have a few errors which I'm not sure how to fix. If anyone can help out that would be appreciated. I have a form: HTML Code: <div id="newsletter"> <p>Sign up for our newsletter</p> <form action="http://somesite.com" method="post"> First name: <br /><input type="text" name="firstname" /> <br /> E-mail: <br /><input type="text" name="email" /> </form> </div> But w3c validator doesn't like any of the <br /> tags: Quote: document type does not allow element "br" here; I have placed <p> tags there instead, and i get no errors in the validator, but my inputs are too spaced apart. With the title before my form "First name" and "E-mail". w3c highlights the first letter in red saying: Quote: character data is not allowed here. How can i fix this? And last one. I have one image on my page I'm validating: Code: <img src="images/coffee_bar.jpg" alt="coffee bar" class="image" align="right"/> Validator: Quote: there is no attribute "align" Is there another way to write this?? Thanks for any help!! |