Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Google entry page in HTML5 (sort of) (http://www.velocityreviews.com/forums/t727413-google-entry-page-in-html5-sort-of.html)

cwdjrxyz 07-04-2010 06:41 PM

Google entry page in HTML5 (sort of)
 
The main Google entry page at http:www.google.com changes from day to
day depending on the top page image used, etc. However it is fairly
short and uncluttered compared to many major organization web pages.
To be specific, I thus will refer to the July 4, 2010, page.

If you take the page to the w3c html validator, it gets validated as
html5. However even for this short page, there are 37 validation
errors. Most of these errors would also be errors in html 4. The code
looks like something out of the 90s. But it gets worse. If you try to
validate at w3c as css, you find that no style sheet is found. However
it does complain about 4 XML links.

There is much to be admired about some of the things Google does.
However I consider the code on their entry page a mess, one of the
worst I have seen on a major organization page. I also wonder why they
use javascript. Is this one of those rare cases where server side
script such as php will not work.

cwdjrxyz 07-04-2010 06:44 PM

Re: Google entry page in HTML5 (sort of)
 
On Jul 4, 1:41*pm, cwdjrxyz <spamtr...@cwdjr.info> wrote:
> The main Google entry page at http:www.google.comchanges from day to
> day depending on the top page image used, etc. However it is fairly
> short and uncluttered compared to many major organization web pages.
> To be specific, I thus will refer to the July 4, 2010, page.
>
> If you take the page to the w3c html validator, it gets validated as
> html5. However even for this short page, there are 37 validation
> errors. Most of these errors would also be errors in html 4. The code
> looks like something out of the 90s. But it gets worse. If you try to
> validate at w3c as css, you find that no style sheet is found. However
> it does complain about 4 XML links.
>
> There is much to be admired about some of the things Google does.
> However I consider the code on their entry page a mess, one of the
> worst I have seen on a major organization page. I also wonder why they
> use javascript. Is this one of those rare cases where server side
> script such as php will not work.


Make that http://www.google.com :-).

Beauregard T. Shagnasty 07-04-2010 09:13 PM

Re: Google entry page in HTML5 (sort of)
 
cwdjrxyz wrote:

> .. I also wonder why they use javascript. Is this one of those rare
> cases where server side script such as php will not work.


The JavaScript is what drives all those 'suggestions' in the dropdown as
you type into the search text box. The results may/do change with every
letter you type. It would be hard to do that server-side.

You wouldn't see the suggestions if you have JavaScript disabled.

Re 90s code: it's all compressed - and yes, that makes it extremely
hard to follow.

--
-bts
-Four wheels carry the body; two wheels move the soul


All times are GMT. The time now is 09:52 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.