What Google Says about HTML and CSS Valid...

This is a discussion on "What Google Says about HTML and CSS Valid..." within the Search Engine Optimization (SEO) section. This forum, and the thread "What Google Says about HTML and CSS Valid... are both part of the Promote Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Promote Your Website > Search Engine Optimization (SEO)

Notices




Reply
 
LinkBack (2) Thread Tools
  2 links from elsewhere to this Post. Click to view. #1  
Old Jan 17th, 2008, 09:03
Banned Member
Join Date: Nov 2007
Location: Derbyshire,UK
Age: 25
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
What Google Says about HTML and CSS Valid...

So sit back and read for yourselves! I emailed google, the King of SE, the Guys who say, "Content is King"

To Google!
Quote:
Hi there I was wondering if you could help me.

I've read that Clean and Valid HTML and CSS in my website would make my website rank better within google? Is this true or not? And also would it help my Adwords too?

Thanks Alot
Adam King
Google's Reply
Quote:
Hello Adam,

Thank you for your email. I understand that you want to know whether valid HTML and CSS help in better organic search and AdWords ad rankings.
Please note that clean HTML codes and CSS help improve rankings because they make it easier for our crawlers to find information. Sites' positions in our search results are determined based on a number of factors designed to provide end-users with helpful, accurate search results. These factors are explained in more detail at http://www.google.com/technology/index.html.

In general, webmasters can improve the rank of their sites by increasing the number of high-quality sites that link to their pages. To learn more about inclusion and ranking in the Google index, please visit our online Help Center at http://www.google.com/support/webmasters. Here, you'll find answers to users' most frequently asked questions.

To know more about how you can improve your site's ranking, please visit http://www.google.com/support/webmasters/bin/answer.py?answer=34432&hl=en_US

If you have additional questions about your site, we encourage you to check out Google's webmaster tools. Our webmaster tools can provide you with comprehensive information about your site, including which search queries trigger your website listing in our search results, potential indexing problems, and errors our crawlers may have encountered trying to access your pages. Get started with Google's webmaster tools at https://www.google.com/webmasters/tools?hl=en_US.

We welcome you to post any webmaster-related feedback or questions in our Webmaster Help Google Group at http://groups.google.com/group/Google_Webmaster_Help. Here you'll find helpful conversations with both Googlers and experienced non-Googlers.

If you have additional questions, please visit our Help Center at https://adwords.google.com/support to find answers to many frequently asked questions. Or, try our Learning Center at http://www.google.com/adwords/learningcenter/ for self-paced lessons that cover the scope of AdWords.

We look forward to providing you with the most effective advertising available.

Sincerely,

Rupam
The Google AdWords Team
I purposely included ADWORDS to make sure it effected BOTH, needless to say sorry mike, but please, no longer rant and rave about it being not... it's straight from the horses mouth so to speak!

Last edited by Rakuli; Jan 17th, 2008 at 09:07. Reason: Thank you for the information but slandering member's really isn't necessary, have removed offending line.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 17th, 2008, 09:10
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

It is good to hear this from "The Horses Mouth"... it is yet another reason to push towards valid code.

Thanks for posting
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 17th, 2008, 09:18
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,707
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: What Google Says about HTML and CSS Valid...

Quote:
Originally Posted by google
Please note that clean HTML codes and CSS help improve rankings


I notice in their reply that they mention clean code, but not valid...
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jan 17th, 2008, 09:37
Banned Member
Join Date: Nov 2007
Location: Derbyshire,UK
Age: 25
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

Well I would put clean code as valid code... If you forgot to close a few tags, I wouldnt class that as clean.

However I have replied to ask why google.com isnt clean or valid code... I betcha I dont get a response from that haha!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jan 17th, 2008, 09:51
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,707
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: What Google Says about HTML and CSS Valid...

Quote:
Originally Posted by minutedesigns View Post
Well I would put clean code as valid code... If you forgot to close a few tags, I wouldnt class that as clean.
Well, personally, I would say you can have "clean code" as in semantically laid out HTML and omitting unneccessary files etc - just what you need on each page.

And then you have "valid code", which is where your code validates against the W3C validation checks.

As Alex pointed out in another thread, the BBC doesn't have valid code, but I would consider it clean.

This is what I thought you meant when you split them out in your original question.
Quote:
Originally Posted by minutedesigns View Post
However I have replied to ask why google.com isnt clean or valid code... I betcha I dont get a response from that haha!
Yeah, It will be very interesting to see what they say.

Keep us posted.
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jan 17th, 2008, 09:57
Banned Member
Join Date: Nov 2007
Location: Derbyshire,UK
Age: 25
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

Please, visit www.bbc.co.uk and click view source...

There is a white gap at the top of the page a mile long... and I would say the codes not bad, but its not clean either..

No Character Encoding Found! for a start, and then "there is no attribute "MARGINWIDTH"." why using that in HTML when they have CSS?

Forgive me if im wrong, but that's depreciated values...

Whats the point in putting widths, fonts etc in HTML when you have multiple CSS Files? None! I would class that as dirty code! Agree or not, its my opinion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jan 17th, 2008, 10:00
Banned Member
Join Date: Nov 2007
Location: Derbyshire,UK
Age: 25
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

Oh yes the new "Beta" site has far less errors, but still bad coding, CSS in HTML and massive gaps of white!

Last edited by Aso; Feb 19th, 2008 at 12:45. Reason: This forum is for all ages
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jan 17th, 2008, 10:41
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,707
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: What Google Says about HTML and CSS Valid...

Would you please mind your language, there is simply no need for it.

Maybe I chose a bad example, I was thinking off the top of my head. But seeing as the entire BBC site is looked after by a team of 5 people, it's pretty impressive.
Quote:
Originally Posted by minutedesigns
No Character Encoding Found! for a start,
well I can see it
Code: Select all
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
I think it may be the small t on Content-Type that is causing the validation issue

Quote:
Originally Posted by minutedesigns
then "there is no attribute "MARGINWIDTH"." why using that in HTML when they have CSS
Again when I do a visual check of the code it doesn't seem to be there. I know what the validation check says (that it is assigned to the body tag) but when I look at the code, it just isn't there.
Quote:
Originally Posted by minutedesigns
Agree or not, its my opinion.
Yes it is, and mine is that it is a clean coded site, in light of the size and complexity of the enitire site. I think we will just have to agree to disagree on this one.

But I am still interested to see if google thinks there is a difference, and if valid code actually means anything to the algorithum...
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)

Last edited by welshstew; Jan 17th, 2008 at 10:43.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jan 17th, 2008, 10:51
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

Quote:
sorry mike, but please, no longer rant and rave
So you got Google to confirm an extremely vague statement -- so vague as to be useless. You are using an entirely different definition of "clean code" from the one that Google is using.

Of course "clean" code is important, if by "clean" you mean "not so badly messed up as to make crawling/link-finding impossible".

But you can't justify your more ambitious conclusion, that "clean" code in the broader sense -- aesthetically pure, minimalist code -- is advantageous.

Sorry to disappoint you, but I remain unconvinced. Besides, you're the one who rants and raves; I'm the one who asks for cold-blooded evidence and arguments.

Last edited by MikeHopley; Jan 17th, 2008 at 10:53.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jan 17th, 2008, 10:58
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

That reply from Google that does nothing to confirm your claim. You're going to have to do better than that.

Last edited by karinne; Jan 17th, 2008 at 12:13. Reason: I have deleted the arrogant posting from minutedesigns.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jan 17th, 2008, 11:11
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,707
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: What Google Says about HTML and CSS Valid...

Quote:
Originally Posted by MikeHopley View Post

Of course "clean" code is important, if by "clean" you mean "not so badly messed up as to make crawling/link-finding impossible".

But you can't justify your more ambitious conclusion, that "clean" code in the broader sense -- aesthetically pure, minimalist code -- is advantageous.
Good point Mike, clarification on what Google considers "Clean Code" would be useful to this discussion.
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Jan 17th, 2008, 11:18
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,707
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: What Google Says about HTML and CSS Valid...

Quote:
Originally Posted by minutedesigns View Post
i just checked and robs put an article up supporting my statement,
Interesting, Please can you post a link, I can't seem to find it
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Jan 17th, 2008, 11:24
Banned Member
Join Date: Nov 2007
Location: Derbyshire,UK
Age: 25
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

Its the top of the forum..

http://www.webforumz.com/search-engi...ice-readme.htm

Direct quote and this is an old post, nothing new:

Quote:
Use XHTML and CSS
If your design is a compliant one (conforms to XHTML and CSS published guidelines) and you have used the technologies effectively, then you will have a very small footprint on the world. What I mean is that your pages will contain far less HTML than other sites not using this method. Your pages will use much less tables... in effect 'code bloat' will be reduced to a minimum.
In summary, using XHTML and CSS greatly improves readability of your code for search engine spiders and maintains a good content-to-code ratio without going beyond file-size and word-count limits.
Bloody ell I love rob some times!

Last edited by Lchad; Jan 17th, 2008 at 12:10. Reason: Bad Eng/Gram what me??? no wai! im pro haha ooops typo hell :D
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Jan 17th, 2008, 11:32
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: What Google Says about HTML and CSS Valid...

I actually feel like this is the most concrete answer from Google that I have ever heard on this subject. I do feel that it is giving us proof that clean html/css is good for rankings. I would say this is proof enough for me to continue to produce clean code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old Jan 17th, 2008, 16:35
Highly Reputable Member