Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> View The Errors In Your Html!
jack
post Nov 17 2005, 03:03 AM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 16
Joined: 16-November 05
Member No.: 14,418



Did you ever do a script and think... How do I know if it is going to display right for everyone.... How do I know my HTML is pure 100% clean, well, think no more... http://validator.w3.org/ - on that URL, you can put in your URL and it tells you how many errors and it displays the errors in your coding!!

example: http://validator.w3.org/check?uri=http%3A%...&doctype=Inline

Displays 51 errors!

Enjoy wink.gif

Jack
Go to the top of the page
 
+Quote Post
moogie
post Nov 17 2005, 04:26 AM
Post #2


Advanced Member
*******

Group: Members
Posts: 102
Joined: 23-September 05
From: Ontario Canada
Member No.: 12,186



I went to this site as you suggested and from what I can see, it

QUOTE
validates conformance to W3C Recommendations and standards


It doesn't check your html for errors but for non-conformance to those standards.

I entered the URL for my own website, which by the way displays and performs very well, and came up with 17 compliance issues....not html errors.

So I think you may have misunderstood what this organization does.
Go to the top of the page
 
+Quote Post
Tyssen
post Nov 17 2005, 04:32 AM
Post #3



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



QUOTE(moogie @ Nov 17 2005, 02:26 PM)
So I think you may have misunderstood what this organization does.

No, I think it's you who's misunderstood. If the validator finds errors, they're errors, not compliance issues. Just cos your site might display how you think it should doesn't mean that your code doesn't have errors, especially if you're using a loose doctype (or even if you have one at all).
Go to the top of the page
 
+Quote Post
moogie
post Nov 17 2005, 04:55 AM
Post #4


Advanced Member
*******

Group: Members
Posts: 102
Joined: 23-September 05
From: Ontario Canada
Member No.: 12,186



Thanks Tyssen. You are right of course. Errors are errors. And you're also right about a site displaying even if it has errors and mine did come up with errors.
Go to the top of the page
 
+Quote Post
Goosestaf
post Nov 17 2005, 12:03 PM
Post #5


Privileged Member
*********

Group: Members
Posts: 503
Joined: 22-September 04
From: Worcester/Milton Keynes (UK)
Member No.: 1,226



newbie questions . . . .
but why do you need to make a website 100% validated?
Whats the problem if it views allright in all borwsers?
How can you make your code "correct"?
Why doesn't software liek Dreamweaver create the "correct" code in the first place?
Go to the top of the page
 
+Quote Post
jlhaslip
post Nov 17 2005, 12:11 PM
Post #6


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,965
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Another point to be made here.
Even if your page goes through the validation process without errors it may not (actually probably won't) display the same in all browsers.
The Standards applied are reccomended standards. Not enforced. So various browsers read and interpret them differently which results in the displayed output being similar perhaps, but almost never the same on any two browsers.
Firefox (and I am not going to rant about how good it is or isn't) and Opera (same) seem to be the most compliant to the standards. IE requires the most hacks or fixes.
I believe the standards are a good thing and I hope the next version of Internet Explorer moves closer to the standards. It would be so much nicer to not have these issues.
Go to the top of the page
 
+Quote Post
Goosestaf
post Nov 17 2005, 12:13 PM
Post #7


Privileged Member
*********

Group: Members
Posts: 503
Joined: 22-September 04
From: Worcester/Milton Keynes (UK)
Member No.: 1,226



I just dont see the point of spending the time if the most used browser isn't very compliant.
Go to the top of the page
 
+Quote Post
Razor
post Nov 17 2005, 07:56 PM
Post #8


Premium Member
********

Group: Members
Posts: 177
Joined: 21-April 05
From: Scotland
Member No.: 5,976



All it really did for my site is tell me things like
"Marginwidth = 0"
and would say thats wrong because i didnt need margin width in there at all......still wouldnt make a difference..just really cleared up exess ..uneeded html if you ask me tongue.gif...
and gave me into trouble for not having a # before my colour numbers tongue.gif ..
but at least i finally found out what this validated stuff was all about..tongue.gif.
Go to the top of the page
 
+Quote Post
wild20
post Nov 25 2005, 04:50 PM
Post #9


Never alone with Christ
*********

Group: Members
Posts: 647
Joined: 22-July 05
Member No.: 9,713



Hey thanks for the topic, this will be great. My site is scratch HTML and I am sure it has plenty of errors that could stand to be fixed. I can't believe someone didn't think of this sooner, it will allow people to perfect their codes. Just need one for javascript, html combined. Thanks again! smile.gif
Go to the top of the page