I have this little website I'm making from a web template I found, and "apparently" the template wasn't 100% correct, the validator at w3schools didn't like some of the things going on. The item that I am currently trying to fix is the text under the links on the left hand side, that say things like "home page". "about me". etc. Does anyone know how to fix the "element undefined" error that the validator gives me? Here is what I have for my code:
There is no element TEXT in HTML. Use a more appropriate element, such as P or SPAN, put them inside LI and style them in CSS.
And you have some NBSP's that are not terminated by a semi-colon.
Use the WDG validator (links at the top/bottom of every page here), as it provides links to the HTML reference for guidance.
w3schools just link to the w3c validator, so that should be OK.
1q2w3e4r, in case you don't realize it, w3schoold aren't related to w3c, they just use their name to gain credibility. Their teachings aren't always all that. Use them if you like them, but be aware that unlike the godlike w3c they sometimes get it wrong.
Regarding the w3c validator, you'll have more options if you use the standard interface.
http://validator.w3.org/
And I didn't even know w3schools had a link to a validator.
Anyway, the links to the reference from within the WDG validation results come in handy to look up the proper usages of elements.
I've looked for it before...
I also prefer "our" validator. For the reason you say but also because the w3c one has become way to wordy for me. It annoys me to have to go through all the prose. I want to scan, quickly, and get a good overview of the result. Doesn't take many errors to bring out the scrollbar at w3c.
Thanks, I got the <text> thing fixed! I edited the <p> tag in the CSS for "#leftcontent p"... now I have one more page I need to fix!
I have a little HTML form linked to a PHP script so users can input comments or whatever... and it works fine in IE, BUT in Chrome and FF the boxes show up incorrectly. Could anyone tell me how to fix that, so the validator (I've been using the one on this website) doesn't go crazy? This is the source to the page: http://pastebin.com/3aRLbjJP ... Once again, any help is much appreciated!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)