Jump to content
xisto Community
Sign in to follow this  
jack

View The Errors In Your Html!

Recommended Posts

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 :lol:

 

Jack

Share this post


Link to post
Share on other sites

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

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.

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :)...and gave me into trouble for not having a # before my colour numbers :lol: ..but at least i finally found out what this validated stuff was all about..:P.

Share this post


Link to post
Share on other sites

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! :)

Share this post


Link to post
Share on other sites

I have tried this site before. I tried it long ago and had a whole bunch of errors. Of course I couldn't fix it because back then I had no idea what I was doing. It is a pretty good source for proffesional sites. They put the picture saying their site had been validated. It helps make sure that all of the browsers see the same thing and no distorted stuff I think. I don't know the full details.

Share this post


Link to post
Share on other sites

Yes, this is a very good tool. I use this tool a lot to check errors and compatibilaty problems with my site, and other sites if i am reading their source. If anyone here uses Firefox, there is a better and more efficient way to do this. If you download an extension called "HTML Validator" which adds the HTML validator to the bottom when you view the source code of any site.Also, there is a better and more efficient way to do this. If you download an extension called "Web Developer". This adds a toolbar above your tab displayer, with many options, like a quick view source, a menu to disable many features, and of course, the option to validate HTML, along with CSS, feed, links, and others.

Share this post


Link to post
Share on other sites

I just dont see the point of spending the time if the most used browser isn't very compliant.

The point comes if you're trying to make your site viewable to as many people using as many devices (not just browsers) on as many operating systems as possible while at the same time taking into account people's disabilities (mobility, sight etc.).

Share this post


Link to post
Share on other sites

Haha, that checker is pretty neat, though, it wants more coding in there, adding things like "border=0" while the border is automatically equal. These types of things get less errors on that site, but it sure does add alot of junk to your coding, pretty unnessesary junk IMO. I like my clean uncomplete code better. ;) Nice site though, worth a few chuckles.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.