Hi!
Checkouthttp://
www.google.comand display the source-code.
I´m missing the </body> and </html>.
Does anybody know why google doesnt know much about HTML?
Check the page at the W3C validator. You will find it has <!doctype
html> which is the correct doctype for html5. Note that the W3C still
considers html5 experimental and notes this on the validation report.
The validation as html5 notes no errors for not including </body> and
</html>. I believe these are considered optional. I am not going to
take the time for checking this out in detail at the W3C, because
html5 is still experimental, not all of it is supported by even the
most recent versions of popular browsers, and it is likely to change
before it is officially adopted.
However view the 35 errors the validator finds. It uses a lot of
obsolete tags, for one thing, and much of the page looks as it were
taken from the html 3.2 era with a html5 doctype at the top. The page
will still work, because outmoded older code still is supported by
most newer browsers. Also note this page changes from day to day. The
person who wrote this page or was required to write this page, should
be carefully checked by Google management. He/she should first explain
why each validation error is necessary. He/she should next be required
to write all new pages to validate completely unless a comment giving
the reason for ignoring each error is given. The job description
should be updated to require this. The person should be given a
reasonable time to update their knowledge of html, if necessary. After
that, inability to write valid pages, with possible exceptions
mentioned above, should result in an unsatisfactory performance review
and firing or moving to another less demanding position.
A few mostly large companies are jumping the gun for html5 before it
is even official. One must wonder at the reasons for this. I think a
large part of this concerns media. Apple has been having all sorts of
bad things to say about flash video, which is now the most used video
format, and at least many of the newer Apple smaller devices will not
support flash. It is sometimes said that one reason html5 is liked is
that it can be used to avoid "name brand" players and code. While this
may be true, the examples I have seen are using extensive, rather
advanced Javascript to do so. Fortunately, I have found that html5 can
still support media written for "name brand" players. And remember
nothing says you have to use html5, xhtml, or html4.1. The W3C
validator will check all of these versions and several more. If you
have an old, very long, html 3.2 page you need to revise, you do not
have to upgrade to a higher level of html. The W3C validator will
still validate it as html 3.2 if your code is correct, and most
browsers still will show the page correctly.