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
-
Strange Key Word Results on Google
I'm trying to rank for the keywords "Chicago General Contractor" My landing page is https://3fconstruction.net/chicago-general-contractor/ However, in Google a variant page on my site (How to apply for a General Contractor's license - https://3fconstruction.net/how-to-apply-general-contractors-license-chicago/) that is optimized for "General Contractor License Chicago" is coming up first and the target page does not even seem to appear. I've forced a google crawl of my site and the page still does not appear. I've used the moz on-page grader and results of the target page are good. I'm perplexed and wonder if google is preventing the target page from appearing. Any thought on how to fix this?
On-Page Optimization | | Drew.Friestedt0 -
406 Errors from Third-Parties websites In Google Webmaster Tools
Google web master tools is displaying 406 errors page.The source is not from our site domain. How to fix these issues if they are from different domain? 2KXlhRy
On-Page Optimization | | SirishaNueve0 -
Fixing Index Errors in the new Google Search Console - Help
Hi, So I have started using the new Search Console and for one of my clients, there are a few 'Index Coverage Errors'. In the old version you could simply, analyse, test and then mark any URLs as fixed - does anyone know if that is possible in the new version? There are options to validate errors but no 'mark as fixed' options. Do you need to validate the errors before you can fix them?
On-Page Optimization | | daniel-brooks0 -
How to delete a Google My Business Account?
I am handling a client's account that has been closed for two years now. We do not have any access anymore to any of the emails that we used to create, we also forgot what were those. So what I did, I claimed it using my company email. Got the code and was able to claim it. Now it is showing up on my GMB Account. I have read the posts on here and some Youtube videos. Here are the steps I have taken: 1. Opened google.com/business 2. Clicked on the Location 3. Click on the three lines at the top left 4. Here is where I am having a problem. The Settings on here is not for the listing but for my company email. Here is a screenshot of what I am seeing: 1. https://prnt.sc/in8vsr 2. https://prnt.sc/in8wax Please help experts. Cheers,
On-Page Optimization | | webbizideas1
Patrick0 -
Do Search Engines Try To Follow Phone Number Links
Any SEO thoughts on using rel="nofollow" when inserting a link to a phone number? To make a phone number click to call we use (555) 555-1234 Wondering if search engines are trying to follow that link or if this is standard and not to worry. Any thoughts on if I should add rel="nofollow" to these or does it not matter? Thanks!
On-Page Optimization | | Lions-Pro0 -
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 -
Remove internal site SERPS from Google Index?
1. Internal Serp pages did not have a robots meta tag 2. As a result, client site has thousands (~4,400) of internal site SERP pages in the Google index. 3. We added the NoIndex, Follow attribute to all internal SERPS 4. We Disallowed: domain.com/internal-search-operator in Robots.txt 5. No new SERP pages are being indexed, but the other 4000 something that were already there are still in the index weeks later. 6. The pages are dynamically created and still work, so I can't use the Remove Content tool from google, because the pages don't 404. Is there any way to get these pages out of the index besides just waiting and hoping google eventuall drops them? Thanks
On-Page Optimization | | delegator.com0 -
Does a page's url have any weight in Google rankings?
I'm sure this question must have been asked before but I can't find it. I'm assuming that the title tag is far more important than the page's url. Is that correct? Does the url have any relevance to Google?
On-Page Optimization | | rdreich490