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 rendering mobile to the right
So the website is displaying correctly in mobile devices and online tools. However, when using Google Page Speed Insights mobile or fetch as mobile in Search Console the page always loads as if it has moved 50% of the screen to the right - so whitespace on the left then 50% of the page in on the right side. I've been ignoring this. The site loads fine in devices and i've put it down to a glitch in Google, but at the same time it's been bugging me. Has anyone else seen this and should I ignore?
On-Page Optimization | | MickEdwards0 -
How to deal with 404 errors from deleted categories?
I was reorganizing my blog and deleted several categories. Of course now Google Webmasters is coming up with a bunch of 404 errors. How do I fix this?
On-Page Optimization | | blogger20130 -
How do you handle different business locations for search?
Would like to get peoples suggestion on how you handle different business locations in different cities. We have tried multiple tactics for different clients. Some have worked better than others. Example: We have a window company that does great in Austin. Now they want to move into Dallas. In the past, we have created "landing pages" optimized for that locality. However, with Googles new updates I dont think this will work anymore. With others, we have added a "tab" and have similar pages of the entire site optimized for that location. This seems to have been working better. What are your suggestion of how you handle different locations from city to city. Any input is appreciated! Thanks! Charles
On-Page Optimization | | seomozinator0 -
Author avatar in homepage search result
Hello I actually see some websites which the owner don't want to display the google+ profile avatar when homepage is displayed in search result, except blog posts only For example: yoast.com Is it a good practice in wordpress? or we must claim authorship & display the google+ avatar for all pages & all posts? Thanks
On-Page Optimization | | dklong23450 -
Why aren't our articles ranking in Google?
We have a website promoting Pakistani lawyers online. The website also has an articles section where we post articles reviewing different legal cases and laws. All of our articles are written by actual lawyers are high quality and unique. Website itself doesn't have large page/site authority but its not a baby website either. I can't figure out why our articles don't rank on Google. Here are few of the articles:
On-Page Optimization | | Heydarian
http://www.pakistanilawyers.com/articles/pakistan-child-custody-laws-explained-479/
http://www.pakistanilawyers.com/articles/pakistan-divorce-law-476/
http://www.pakistanilawyers.com/articles/pakistani-law-insolvency-guide-460/ I don't know whether its simply because there are not enough links pointing to our website or if there is a problem in the website itself that i can't find. Thanks for the help0 -
Google Index Report
Hi, I have just checked my google webmaster tools account and viewed the index status of my website and it produced the attached graph, which show quite a big spike in indexing during July and August 2012. Does this look normal or does it reveal anything peculiar? We did have a new website launched in June 2012 and I re-submitted the sites URL's to google as part of the re-launch and so I am unsure if this may account for the spike. Any advice appreciated. Thanks indexing.png
On-Page Optimization | | UnderMe0 -
Seomoz tabbed search
Hi, this question might not be SEO specific but i was wondering how seomoz implemented a direct search from the chrome omnibox (you write www.seomoz.org and the press TAB)? BR Carl
On-Page Optimization | | careeron0 -
Google Will Now Start Indexing Facebook Comments
Interesting article: http://www.telegraph.co.uk/technology/google/8863354/Google-to-index-Facebook-comments.html
On-Page Optimization | | TheVolkinator0