Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    348
    Thanks
    26
    Thanked 40 Times in 39 Posts

    Google homepage validation errors - insight

    Saw an article at Sitepoint on HTML 5 and Google, which gives us some insight on why the Giant has validation errors on their homepage.

    As you would expect with Google, this was no accident or oversight on their part. Evidently, leaving off closing html and body tags allows pages to load faster without any negative rendering repercussions in browsers -- old or new.
    http://www.sitepoint.com/newsletter/...=3&issue=250#5
    Blog Charity:Water
    WhatisWrongWith.me/tagnu - Send me anonymous feedback.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    I like his thought on HTML5 possibly being the end of well formed code and validity. I can't imagine that the average site would go for that (the bandwidth savings are minuscule for this particular tactic for sites that serve say less than 10,000 pages an hour) but it would be good for sites with high traffic to cut down on bandwidth, assuming the pages were tested in all browsers.

    I hope that best practice remains well-formedness and valid code, but then again there has to be a tangible benefit right?
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    Regular Coder ohgod's Avatar
    Join Date
    Jun 2008
    Location
    Ohio
    Posts
    579
    Thanks
    6
    Thanked 69 Times in 69 Posts
    I hope that best practice remains well-formedness and valid code, but then again there has to be a tangible benefit right?
    i shudder to think at tutorials written in loose, sloppy fashions.

    and being an amatuer i have enough trouble getting things to work the same way cross browser without having to worry about sloppy half formed tags.


  •  

    Posting Permissions

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