Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

can a code be 100% pass W3c test

Featured Replies

Hello friends

i was just wandering ,we all know that we need to validate our web page with w3c validator but i was checking that lot of renowned companies have more than 100s of errors in a single page so i was trying to figure when some one says my page is w3c validated on what basis one demands it? Are there any rules that if its 60% correct i can say its w3c validated?

good question, often I use css border-radius for those users good enough to use Mozilla or Safari etc, and they always show up as errors.

 

I also get warnings where the background color of one element is the same as the text in another.

 

It's not really a problem but it kind of irritates me that the site doesn't validate smoothly and it would be nice to put a link up to show it validates.

To be honest mate - it is nice if a site validates and I always try to make my sites valid... BUT if it works across all browsers then I couldn't give a flying monkey if it validates or not! As long as it works :)

 

A valid site is great - a working site is better! That is a pearl of wisdom from an old creative director of mine and it has stuck with me ever since :)

google has 1 error, even tho there's hardly anything on the page :D

 

and there's 20 on mozilla.org, is there any point in a validator if nothing validates?

  • Author

Cleaning up markup with html tidy thats the way to do it

I have run validation test of http://www.microsoft.com/en/us/default.aspx with http://validator.w3.org/ and it says 300 errors :(

This proves even the best of us dont validate lol shoot my site validated http://www.milliondollarads.org only has 5 errors so im extreamly proud of that and from what u say i just beat Microsoft :yahoo:

i personally dont think that w3c validation is too important. Any great bit of design wont pass the validation because it'll use CSS3, or some HTML5, which aren't properly supported yet. I used to obsessively validate my markup and CSS, but not any more. Jeffrey Way puts it perfectly.

 

"The idea of validation has been completely misconstrued by those who don’t understand its purpose. Validation should work for you, not against."

 

Having said that, validation is a good way to find any major errors in your site's code. It's really up to you, but what ever you do, don't put those little badges on your site. No one cares. Also, don't advertise yourself as coding valid websites, as you'll severely limit what you can do. If a client asks for a valid site, try and explain to them why it doesn't validate, the advantages to doing it your way, and the disadvantages to changing it. How ever, if they persist, just change it and watch their jaw drop when their lovely new site goes all ugly and '90s. Failing even that, you could always fib :x

i personally dont think that w3c validation is too important. Any great bit of design wont pass the validation because it'll use CSS3

 

when you go to validate, under the advanced section, select the correct language version (i.e css3) and then it will validate.

 

The html5 validator however isn't complete yet, and as such, may throw up some errors incorrectly.

I get errors with my video embed. It seems almost impossible to validate a video embed without using hacks and workarounds (Which actually dont work in every browser)... So I'd say in certain circumstances 1-5 errors (that are unavoidable) is quite acceptable to be honest.

when you go to validate, under the advanced section, select the correct language version (i.e css3) and then it will validate.

 

The html5 validator however isn't complete yet, and as such, may throw up some errors incorrectly.

 

 

I stand corrected. Thank you sire.

A valid site is great - a working site is better! That is a pearl of wisdom from an old creative director of mine and it has stuck with me ever since :)

True.dat!

I always try to make my sites 100% valid, but there are certain circumstances where they won't (i.e. third party code such as CMSs, embedded objects like the AddThis toolbar, etc.)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.