HTML - Help Reading Validation Errors?
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? Similar TutorialsI 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 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 Can 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. 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?! 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... 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. 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).... 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 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? Hey all, My second question from the 'could be done another, easier way, but I want to do it like this' pile (I am really trying to avoid PHP..) At the moment I have created a basic website (just for funsies, and a little bit of learning) using CSS and such - nothing too complicated. I had a bit of a look around and found a basic script that would allow me to username / password protect the site, though I noticed that the username / password was stored in the HTML itself, so it sort of makes it useless. This got me thinking about more secure ways to do it, and I thought that if I could store the username / password combinations in a CSV file, and then check through that list on submit, that would be ok? So, firstly, is it possible to do it like this? Secondly, how would I go about doing it? I am probably in way over my head, but I will never know if I never try! Thanks in advance. ~J How can I use HTML to read text from a text file and put it into a cell in a table? I want to have one main site that can have different content loaded into it. would I be better off using frames? Sorry if this is confusing. Alteast, I think it's a HTML website i'm reading from: http://nw4.novaworld.net/bhd_3_list.lob?page=2 I'm quite lost here, I tried several things, done some searching here and there, and just cant figure it out. I'm not sure if what I want is possible with HTML, if it isnt, please move this post to the appropriate section, thanks. What I want to do is make somesort of a 'Serverstatus block', with some help from the website I posted above. I sometimes host a server in that game, and then it shows up on that website with Game Name, Gametype and Players. Now I want to format that info into a nice statusblock... Though it's not just me hosting a server, there's more people hosting for the same name. I only want that statusblock to get the info only if there's a server with Game Name that contains 'P4F', else it should say 'Server Offline'. I want the info formatted like: Server Name: (namehere) Gametype: (gametypehere) Players: (playershere) I just cant figure this out... I do have some basic HTML knowledge, I know how to format text like that, but I dont know how to read from that website... Could anyone give me an example, tip or website that holds the easiest way to do this ? Thanks in advance, VipleX Hey guys. Mandarin was able to help me BIG time on this yesterday and get me going but I've hit a bump in the road. I have the scripting written out to the best of my knowledge. I've checked it 3 times with my amateur eyes and can't find anything that I'm missing. Will you please take a look at the scripting here and see what I'm missing?? The form shows up great on the Source side but when I hit submit it goes to a BLANK destination page. I had it working yesterday where the results showed up just fine on the destination page in a much simpler format! Thanks for taking a look. Source page HTML Code: <!DOCTYPE html> <html> <head> <title>Source page</title> <script> window.onload = function() { document.getElementById("input").onsubmit = function() { localStorage.setItem("tfirstname", this.elements["tfirstname"].value); localStorage.setItem("tlastname", this.elements["tlastname"].value); localStorage.setItem("email", this.elements["email"].value); localStorage.setItem("tphone", this.elements["tphone"].value); localStorage.setItem("ffirstname", this.elements["ffirstname"].value); localStorage.setItem("flastname", this.elements["flastname"].value); localStorage.setItem("fphone", this.elements["fphone"].value); localStorage.setItem("rent", this.elements["rent"].value); localStorage.setItem("employer", this.elements["employer"].value); localStorage.setItem("ephone", this.elements["ephone"].value); localStorage.setItem("gross1", this.elements["gross1"].value); localStorage.setItem("length", this.elements["length"].value); localStorage.setItem("gross2", this.elements["gross2"].value); localStorage.setItem("lfirstname", this.elements["lfirstname"].value); localStorage.setItem("llastname", this.elements["llastname"].value); localStorage.setItem("lphone", this.elements["lphone"].value); localStorage.setItem("clength", this.elements["clength"].value); localStorage.setItem("evicted", this.elements["evicted"].value); localStorage.setItem("checking", this.elements["checking"].value); localStorage.setItem("savings", this.elements["savings"].value); localStorage.setItem("bank", this.elements["bank"].value); localStorage.setItem("bankruptcy", this.elements["bankruptcy"].value); } } </script> </head> <body> <form id="input" action="http://www.truquill.com/contact-us.html" method="post"> <B>General Information</B> <br /><br /> First name: <input name="tfirstname" title="First name" /><br /> Last name: <input name="tlastname" title="Last name"/><br /> Email:   <input name="email" title="Email address" /><br /> Phone: <input id="tphone" name="tphone" title="Primary phone number" type="text" size="3" value="" > <input id="tphone" name="tphone" title="Primary phone number" type="text" size="3" value="" > <input id="lastDigits" name="lastDigits" title="Primary phone number" type="text" size="4" value="" ><br /> <br /><br /> <B> Future Residence </B> <br /><br /> First name: <input name="ffirstname" title="Future residence first name" /><br /> Last name: <input name="flastname" title="Future residence last name"/><br /> Phone:  <input id="fphone" name="fphone" title="Future residence phone number" type="text" size="3" value="" > <input id="fphone" name="fphone" title="Future residence phone number" type="text" size="3" value="" > <input id="lastDigits" name="lastDigits" title="Future residence phone number" type="text" size="4" value="" ><br /><br /> Rent amount: $ <input name="rent" size=4 title="Future residence rent amount" /><br /> <br /><br /> <B> Employment History </B> <br /><br /> Employer: <input name="employer" title="Name of Employer" /><br /> Phone: <input id="ephone" name="ephone" title="Employer phone number" type="text" size="3" value="" > <input id="tphone" name="ephone" title="Employer phone number" type="text" size="3" value="" > <input id="lastDigits" name="lastDigits" title="Employer phone number" type="text" size="4" value="" ><br /><br /> Gross monthly wage: $<input name="gross1" size=4 title="Monthly wages from employer before tax" /><br /><br /> Length at current employer:<br /><br /> <input type="checkbox" name="length" value="<1" /> Less than 1 year<br /> <input type="checkbox" name="length" value="1-2" /> 1-2 years<br /> <input type="checkbox" name="length" value="2+" /> More than 2 years<br /> <br /> Additional household income: $ <input name="gross2" size=4 title="Gross household income in addition to wages from listed employer" /><br /> <B> Rental History </B> <br /><br /> Current Landlord Information <br /><br /> First name: <input name="lfirstname" title="Landlord first name" /><br /> Last name: <input name="llastname" title="Landlord last name"/><br /> Phone:  <input id="lphone" name="lphone" title="Landlord phone number" type="text" size="3" value="" > <input id="tphone" name="tphone" title="Landlord phone number" type="text" size="3" value="" > <input id="lastDigits" name="lastDigits" title="Landlord phone number" type="text" size="4" value="" ><br /><br /> Length at current residence:<br /><br /> <input type="checkbox" name="clength" value="<1" /> Less than 1 year<br /> <input type="checkbox" name="clength" value="1-2" /> 1-2 years<br /> <input type="checkbox" name="clength" value="2+" /> More than 2 years<br /> <br /> Have you ever been evicted?<br /><br /> <input type="checkbox" name="evicted" value="<1" /> Yes<br /> <input type="checkbox" name="evicted" value="1-2" /> No<br /> <br /> <br /> <B> Account Balances </B> <br /><br /> Household checking: <input name="checking" title="Household checking account balance" /><br /> Household savings: <input name="savings" title="Household savings account balance" /><br /> Primary bank:       <input name="bank" title="Primary banking institution" /><br /> <br />Have you ever declared bankruptcy?<br /><br /> <input type="checkbox" name="bankruptcy" value="yes" /> Yes<br /> <input type="checkbox" name="bankruptcy" value="no" /> No<br /> <br /><br /> <input type="submit" value="View my options!" title=Submit><br /><br /><br /> </form> </body> </html> Destination page HTML Code: <!DOCTYPE html> <html> <head> <title>Destination page</title> <script> window.onload = function() { document.getElementById("message").innerHTML = "Welcome back, " + localStorage.getItem("tfirstname") + " " + localStorage.getItem("tlastname") +" " + localStorage.getItem("email") + " " + localStorage.getItem("tphone") +" " + localStorage.getItem("ffirstname") + " " + localStorage.getItem("flastname") +" " + localStorage.getItem("fphone") + " " + localStorage.getItem("rent") +" " + localStorage.getItem("employer") + " " + localStorage.getItem("ephone") + " + localStorage.getItem("gross1") + " " + localStorage.getItem("length") +" " + localStorage.getItem("gross2") + " " + localStorage.getItem("lfirstname") +" " + localStorage.getItem("llastname") + " " + localStorage.getItem("lphone") +" " + localStorage.getItem("clength") + " " + localStorage.getItem("evicted") +" " + localStorage.getItem("checking") + " " + localStorage.getItem("savings") +" " + localStorage.getItem("bank") + " " + localStorage.getItem("bankruptcy"); } </script> </head> <body> <p id="message"></p> </body> </html> I'm trying to make a small page that reads a CSV file (exported from excel) that gives me a list of my DVDs with an img that is a link to the file to start the movie. It actually works fine (needs some formatting tweaking), but as it is below, it lists the movies vertically (up & down). Anyone know how I can make it list them horizontally? For whatever reason I prefer it that way. Any help would be appreciated. I'm testing using IE btw. movies-test.html ===== <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title> Graphical list </title> </head> <body bgcolor=#C0C0C0> <object ID=data classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> <param nAme="DataURL" value="movies-test.csv"> <param nAme="UseHeader" value="true"> </object> <table CELLSPACING=25 datasrc='#data'> <tr> <td><center> <a href= <span datafld='location'> </span><img width=290 height=400 src=<span datafld='picture'></span> </a><br> <span datafld='name'> </span> <span datafld='time'></span> </center></td> </tr> </table> </body> </html> movies-test.csv ===== name,time,picture,location 8mm,123,C:/DVDs/images/8mm_cs.jpg,D:/8mm/video_ts/video_ts.ifo 12 Monkeys,131,C:/DVDs/images/12_monkeys_cs.jpg,E:/12_monkeys/video_ts/video_ts.ifo Thirteen Ghosts,91,C:/DVDs/images/13_ghosts_CS.jpg,E:/thirteen_ghosts/video_ts/video_ts.ifo 13th Warrior,102,C:/DVDs/images/13th_warrior_cs.jpg,D:/13th_warrior/video_ts/video_ts.ifo 16 Blocks,105,C:/DVDs/images/16_blocks_cs.jpg,H:/16_blocks/video_ts/video_ts.ifo Hi all, I can not seem to figure out why a form on my fathers website is having trouble being read by Internet Explorer. The text directing what should be written (ie. Name, Telephone, Email Address, etc...) is being cut in half. I have no idea why it is doing this I have tried playing around with the cell padding to no avail. I appreciate you help Thanks, Josh Korn |