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
-
Want to remove google font
hi this is my site https://alcouponest.com/
On-Page Optimization | | Moshako
and i want to remove google fonts and use system fonts
what is the best plugin to do that
thx0 -
WMT Fetch as Google
Is there any benefits in using 'Fetch as Google' in WMT and then submitting for indexing? I have a page which I'm trying to get to rank so far with no luck is it likely to help or could it hinder? Please speak from experience not hearsay 🙂 Many Thanks
On-Page Optimization | | seoman100 -
Getting different search queries in Google Webmaster
Hi All, I have a website Afrofood.com. In it's Google webmaster search queries i have more than 90 Queries, but not a single query is related with this site. All queries are from different site or subject, they have no any relation with my site. Can any one please tell me how to correct this... Site is Afrofood.com related with African foods, recipes, spices and all that. But showing search queries are: [canada goose](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose) [canada goose outlet deutschland](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose outlet deutschland) [polizei shop düsseldorf](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#polizei shop düsseldorf) [canada goose deutschland](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose deutschland) [canada goose weste](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose weste) [canada goose kaufen](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose kaufen) [canada goose hamburg](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose hamburg) [canada goose größentabelle](https://www.google.com/webmasters/tools/top-search-queries?hl=en&siteUrl=http://afrofood.com/&authuser=1#canada goose größentabelle)
On-Page Optimization | | 1akal0 -
On Site Errors
HI Folks I'm monitoring a small Australian site bluetea.com.au . Currently I have a SEO specialist who does month onsite maintenance work for this site. However each month I continue to see errors in webmaster tools... as an example, currently webmaster tools suggest we have 21 short meta dic and 26 duplicate title tags..... Examples given are Short Meta Discp /cleaning-products-and-our-health/toxic-cleaners/ /colour-consultant/fushia-door/ /portfolio/parisian-apartment-black-kitchen/parisian-apartment-black-kitchen/ Duplicate title tags <a id="zip_0-anchor" class="zippedsection_title"></a>concrete-kitchen | Blue Tea Kitchen Designs /kitchen-trends-and-material-innovation/concrete-kitchen-2//kitchen-trends-for-2013/concrete-kitchen/<a id="zip_1-anchor" class="zippedsection_title"></a>Potts Point Kitchen | Blue Tea Kitchen Designs/portfolio/potts-point-kitchen//portfolio/potts-point-kitchen/pott-point-kitchen/My SEO tells me that he has solved all these issues but after one or two months they still remain in webmaster tools... can anybody help me understand why?Thank you
On-Page Optimization | | PHD0 -
Should Ltd be added to business names in page titles or not?
For example if a page title contained the company name is it advisable to have the page title as: Blue Cups | Company Name Ltd or Blue Cups | Company Name We have a feeling that searchers are not likely add the Ltd whilst performing searches.
On-Page Optimization | | Liveleigh0 -
Website Changes Updated in Google...
How long does it take for Google to recognize SEO changes that I have made to my website?
On-Page Optimization | | AubbiefromAubenRealty0 -
Does Commented HTML Code Get Spidered?
I have a change, perhaps temporary, to my web store that I will be making. I am wondering if the code that I will comment out () gets spidered?
On-Page Optimization | | lbohen0 -
Custom Web Fonts
If we decide to use custom web fonts - using CSS + linked .ttf files - will there be any sort of issue in terms of being looked down upon by SE's? I realize there would be a slight increase in download time - but other than that has anyone experienced any negative effects?
On-Page Optimization | | Zkwarta0