Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: validator question (simple)

  1. #1
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    1,718
    Thanks
    82
    Thanked 90 Times in 88 Posts

    Default validator question (simple)

    would you say that getting a site w3c valid will make a script 99% cross browser compatible?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,994
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    No. The validation process doesn't check your script code for javascript errors or good coding practices. You could have a valid page with a totally non-working script on it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    1,718
    Thanks
    82
    Thanked 90 Times in 88 Posts

    Default

    could someone remind me again why getting a site w3c validated is important?

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    To my understanding, it is to make the site layout/design compatible with most (if not all) modern browsers. Not 100% on this though.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    If your webpage is standards compliant, it should display almost the same in standards compliant browsers.
    If there were no standards, the web would have nearly no benefit, other than transmitting plain text.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    It's also very helpful when you post on this site, so that we don't have to guess what random techniques you've used to hack the html into working. If it's standard html, then it's usually fairly easy to figure out what is wrong with a page or what to add. If it isn't standard, there's no guarantee that code we fix/add will work.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    If there were no standards, the web would have nearly no benefit, other than transmitting plain text.
    It wouldn't do that either -- ASCII, Latin1, and all the other, more advanced encodings, are all standards The only thing that is transmitted is streams of electricity. Standards make the Internet go 'round.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,994
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by james438 View Post
    could someone remind me again why getting a site w3c validated is important?
    I think all of the answers given so far to the above question are good, if incomplete.

    Quote Originally Posted by Twey View Post
    If there were no standards, the web would have nearly no benefit, other than transmitting plain text.
    It wouldn't do that either -- ASCII, Latin1, and all the other, more advanced encodings, are all standards The only thing that is transmitted is streams of electricity. Standards make the Internet go 'round.
    I'm singling you out Twey, because I like you, and I think you should know better. What I said above goes for you too, good (even true in a way), but incomplete. One thing I think should be added to it is that standards are one of the things that make the web work. Obviously, standards alone will not a world wide web make. Even though standards, in principal, allow for accessibility, it is the flexibility and general efficacy of browsers that extend that to those not rigorously schooled in the standards. Content providers are essential. I could go on and on, but it is likely a complete answer would be either impossible or extremely long.

    So, my additional 2 cents on the original question quoted at the top of this post:

    Validating your code vastly reduces the uncertainties involved in sharing it with others, and with publishing it for consumption via user agents (browsers, etc.) who/that understand valid code.

    It is no substitute for effort and knowing what you are doing, but it almost always can work with and enhance that.

    Still incomplete, but I'm trying to watch a ballgame.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    1,718
    Thanks
    82
    Thanked 90 Times in 88 Posts

    Default

    Lots of different and good reasons. I guess I just needed a bit of a reminder because I was getting a bit bogged down with all of the errors on my site. This is the first time that I am really trying to get my site standards compliant after two years of working on it.
    Last edited by james438; 08-25-2007 at 09:39 PM.

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,994
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by james438 View Post
    Lots of different and good reasons. I guess I just needed a bit of a reminder because I was getting a bit bogged down with all of the errors on my site. This is the first time that I am really trying to get my site standards compliant after two years of working on it.
    If you need help validating a particular effect/attribute/tag, etc., that's part of why we are here, just ask. There are alternatives to most things that don't validate, and reasons why to avoid those things that just can't be validated*. After you get a bit of experience under your belt, validation isn't nearly such a big deal. Think of it as a spell checker.



    *Some things you may think that you 'need to have' just cannot be validated to a particular standard. If you really need to use it, you should use a less strict DOCTYPE for that page to protect it from being degraded before its time.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •