Errors when checking W3C HTML after added Google Custom Search
-
hello,
I have added google custome search to my website, and then check with W3C HTML, it report many error.
eg: there is no attribute "enableHistory" <gcse:searchbox-only enablehistory="true" autocompletemaxcompletions="5" au…<br="">or there is no attribute "resultsUrl" and so on ...</gcse:searchbox-only>Has anyone face with this problem, I don't know how to fix it. Please help!
-
Thanks for your advice. I may be not try to fix them. It is to be hard to fix
-
A lot of Google stuff doesn't validate. In fact - check this: http://validator.w3.org/check?uri=www.google.com&charset=%28detect+automatically%29&doctype=Inline&group=0
Strict w3c compliance just isn't top of their list, and I have to say that I'm with them on that. There is a lot of reason to do it of course. I am not detracting from that and it is definitely a good thing to aim for. However it isn't always critical and sometimes you need to weigh up the benefits against other gains.
I know that there was a statement/response to this from Google at one point back in history. I remember that they sited filesize as one example of a benefit that can be gained when you move away from strict compliance. There are other advantages, but in Google's case I think it is more than it just isn't that important to them. You have to remember that this is the search engine that was originally built by two guys who didn't know HTML :
“We don’t have a webmaster and I don’t do HTML,” - Sergey Brin
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google Is Ranking the Wrong Page
Howdy Folks- I have a case where Google is ranking the wrong page for a couple of different keywords. The home page is: http://healthtn.com Most notably, we're trying to optimize the home page for "Tennessee Health Insurance" but the below page is what continually ranks for it, and does so very poorly. We used to be page two with the home page, now we are page four and it ranks the following page. http://healthtn.com/tennessee/health-insurance/student I have started directing our Internal Linking to reflect the correct anchor text but succeeded in losing ranking for the term, but am still ranking the wrong page. Any thoughts or help would be much appreciated!
On-Page Optimization | | CRO_first0 -
Why is this site 1st in Google??
Hello The site www.woodensigns.net is 1st in google for the keyword "wooden Signs". All seo indicators are poor except keyword in url; wich, i thought, was not a + for google anymore. Could someone help me to understand here? Thank you Emmanuel
On-Page Optimization | | manu450 -
Google's Page Layout Algorythm
It seems that Google have been or will penalizing websites with too many ads above the fold. Is it me or Google's search result layout is a perfect example of what NOT to do?
On-Page Optimization | | sbrault741 -
Best Way to Add Google Map to Site
My site is built with WordPress. I want to add our business location in the contact page using Google Map. What is the best way to do this? There is many plugins out there for Word Press do I need to use one ? Hopw about Webmaster tools, does it need to be submit somewhere in there? When it is done properly, will Google show our store location with a map in Goolgle search results? I saw some store result showing the map & business hours, How to do this? Thank you for your help. BigBlaze
On-Page Optimization | | BigBlaze2050 -
Customer forum on an ecommerce site, good or bad idea?
Hi, We are an online furniture retailer in Ireland and have been going for about 4 years, there is about 1000 visitors onto the site everyday. We have been thinking of new ways to interact with the customer and build the sites online content and constantly working to improve rankings. Have been toying with the idea of a user/customer forum and was wondering what the general consensus was with that as an idea, I appreciate that there could be negative aspects for the brand and was wondering if anyone had experience of similar and how that was perceived by the user and in what way did people interact with the forum. I assume differently to how they would interact with an "independent" furniture forum. My hope would be that the forum would be used for discussing general home improvements, asking questions relating to the home for community feedback and assistance and other similar home related topics. All thoughts and feed back welcome. Cheers. Eunan.
On-Page Optimization | | eunaneunan0 -
Blog Comment IPs Seen By Google?
I have a page on a client's site for testimonials (a dental practice). The page is actually a post on a Wordpress install where customers can enter their testimonials as WP comments. In an effort to encourage more clients to give more testimonials I was considering setting up an iPad or other tablet at the receptionist's desk where patients would be able to enter their successes as comments on the page. If I made sure the patients all used unique names and emails in the Wordpress comments, would Google still see all the comments are from the same IP and view this as suspicious?
On-Page Optimization | | jargomang0 -
Does google treat all urls equal?
Sorry for the lame title, i couldn't think of a better one. I want to know if google treats this: http://www.domain.com/products/some-product-name the same as it would treat: http://www.domain.com/?products=some-product-name if not, could you tell me the differences?
On-Page Optimization | | adriandg0 -
Duplicate page content errors
Site just crawled and report shows many duplicate pages but doesn't tell me which ones are dups of each other. For you experienced duplicate page experts, do you have a subscription with copyscape and pay $.05 per test? What is the best way to clear these? Thanks in advance
On-Page Optimization | | joemas990