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
-
Should you aim for Google to use your meta tags?
When updating meta titles and descriptions, I'm taking note of whether Google is displaying the set tag or changing it to copy from the page. Does this affect the ranking position if Google is having to change the tag? How much should I worry if Google is choosing to change every other page? Thanks!
On-Page Optimization | | Omar_aw0 -
Fetch as Google
Are there any pros or cons with using Google fetch and submit? I realise Google will likely find it of its own accord in due course but I have found it may take a couple of weeks if at all. Fetch and submit seems to speed this process up, sometimes anyway.
On-Page Optimization | | seoman100 -
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 -
Duplicate Page Titles in Crawl Errors (although Google is rewriting in serps ??)
Hi Im working on a client/project and crawl report is showing thousands of dupe page titles In the case of the blog/news section its aprox 50 since aprox 50 posts and they all have the same meta-title: "Brand News | Brand" as opposed to: "Title Unique to Page/Topic/KW Relating to Content | Brand" Since these are the main content pages we want to rank (in addition to the main site category pages) then i have instructed dev must prioritise populating these pages meta-titles with the actual post/article titles, as per the latter version of the above example. (I should mention that i have requested they fix all dupe titles but main content pages are the priority). Whilst this will reduce the number of dupe titles in crawl error/warning report which is a good thing, is it actually likely to increase the ranking of these news/content pages given that Google does seem to be rewriting the titles correctly in the serps based on the page content ? Many Thanks in advance for your input
On-Page Optimization | | Dan-Lawrence0 -
Google Crawl Errors from vbseo change
We have vbseo setup on our site and for some reason a setting was changed unexpectedly and was un-noticed where it changed the URL of all the pages and so none of our pages were getting indexed by google any longer due to 401 errors. Most of our SE traffic fell off. We discovered the issue a couple weeks ago and we changed the setting back so that the URLs are the same as they were originally before but in Google webmasters it's still showing crawl errors and our search engine traffic hasn't recovered at all. We have sitemaps being sent daily.
On-Page Optimization | | RudySF0 -
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 -
How? Title in Google differs than actual title tag
Just curious on how sites do this? If you search for a video (perhaps Green Lantern Trailer), you'll see the YouTube results in Google/Bing listed as YouTube - Green Lantern Trailer but when you go to the page, the actual title tag displayed is Green Lantern Trailer - YouTube I've seen other sites do this too. I'm just curious what they are doing (I don't see any other title tags in the html)? I thought your title tag is what is displayed in SERP? Thanks,
On-Page Optimization | | NicB10 -
Is Google Places appropriate for an ecommerce site and blogs
I'm working with a client that has an ecommerce site. He has e physical addresses where they work, however, neither would want customers to go to their office. Is it inappropriate to create a Google Places listing in this situation? I'm working with another client who runs a blog for his PR agency. Is it OK to create a Google Places listing for a blog? He would welcome people to visit his agency.
On-Page Optimization | | EricVallee340