Phone number Schema that Google WMT blog talked about this week throwing HTML Validation error
-
My code looks like this:
The HTML validation errors are these:
Attribute contacttype not allowed on element span at this point.
Attribute areaserved not allowed on element span at this point.
Attribute contactoption not allowed on element span at this point.
Attribute availablelanguage not allowed on element span at this point.Have I misread how to implement this schema or is html validation not up to speed and I should ignore for now?
Thanks!
-
Thanks for double checking for me. I appreciate it!
-
The rich snippet testing tool looks to show valid schema markup on the page you sent and the sample link I sent passed html5 validation. At this point looks like certain parts of the schema markup are not recognized by the validator. Good to know this is the case, thanks for sharing the link.
-
This page has the schema on the phone numbers in the top right and in the footer: http://m.mexpro.com/
-
Well the document in question needs to be formatted in HTML5, otherwise it will not validate correctly. So if you run an HTML4 or XHTML page through the HTML5 validator it will not pass. You can also check here to see if the structured data is implemented correctly. Are you able to provide an example of the page you are trying to validate?
-
I am positive I check with html4. I put the code in here so.... not sure what is up...Could the code put in for mobile look like it's in there twice and not validate?
-
Hello,
Are you sure you checked the HTML5 spec? This seems to validate for me and is only basic html5 with schema markup. It's possible you have not marked up the code properly. Google provides some examples to assist with this. I believe you need to do the full markup too, not just certain parts. Hope that helps.
-
It does not validate for html5, but thanks for your input.
-
Hello,
I believe it is valid under the HTML5 doctype, but not others. If you try and validate it under that doctype it clears validation. Generally I think you can ignore this issue for now as shouldn't cause any issues if it does not validate.
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
-
Our website ranks first in SERP but is not listed in google local list
Hi, Our website is currently (and has been) ranking 1st for a number of keywords but is not listed under the Google Local list. I have double check that all the (physical) info is correct. I do not have a duplicate page. When I order the Google Local results in rating order, we then appear on top! Has anyone come across such a situation and would you have tips on how to solve this issue? Thanks!
Local Listings | | GVZH1 -
Should add Schema markup to my sites Business Directory?
I'm adding a Business Directory to my ecom site to show where the product can be purchased/used. Some listings are stores where you can purchase others are restaurants, bars and spas the product can be used. My question is should I add relevant Schema markup for each listing? My thoughts are yes but wanted feedback from the community.
Local Listings | | ColeBField
Thanks0 -
How do I get Google Knowledge Graph to display my schema snippet added on our official website?
Right now, Google is connecting our company google query to a Knowledge Graph that contains Wikipedia information, and a map to the location of our place but with the name of the company spelled wrong. It also says 'Claim this business'. I would like to override this. We have a G+ page for our company , and as well i have added a Schema to display the information correctly in the Knowledge graph. But these changes have not seemed to help to change the knowledge graph. Any help or ideas would be greatly appreciated! Thanks!
Local Listings | | uthealthsa0 -
My Google business show up on map but does not show up on list and local search on Google.com
Hello all, how are you doing ? My Google business show up on map but does not show up on list and local search on Google.com main keyword: nail salon in Sevierville tn nail salon in Sevierville pedicure in Sevierville nail salon in pigeo forge my website : www.sassy-nails.com http://plus.google.com/+Sassy-nails please help me that
Local Listings | | sassynailservice0 -
Data source of Google Maps in Japan
Hi There, Does any one know how to input data such as restaurants into Google Maps in Japan? Google Map Maker isn't supported in Japan and I can't find who the primary data suppliers are. I am looking to find out so I can improve my neighbourhood guide on an airbnb listing. It would be great to tell people the location of local shops and restaurants but can only add locations listed in Google maps which is limited for Kurokawa in Japan. Thanks Billy
Local Listings | | Brighton-Soundsystem0 -
Default Local SEO question: Does Google really do improptu check ins?
I have a client who has multiple locations within his state, many of which are satellite offices. Although they don't have anyone working at these satellite offices full time, they have office space available to them their, someone who can take calls/mail and do use the space frequently in person. We've been in the process of cleaning up duplicate and incorrect listings in directories to get on the map in the SERPs in these markets, but the local SEO outfit we've hired has come back with a problem I found surprising. In order to clean up the duplicate & incorrect Google+ profiles that we've got out there for these offices, we evidently need to work with an actual Google moderator. This moderator has said that the satellite offices in question are actually not real business locations and are in violation of G+ guidlines. The local SEO I'm using says that it's not uncommon for Google to actually send someone out to do an in person improptu visit when they are suspicious that a listing might not belong in their listings, and I find this really surprising. Do any of you have any experience with whether this is the case? FWIW, this is a real business that could have someone working remotely in these offices remotely if that's what it took to make Google happy, but they'd rather not and certainly don't need to in order to offer their services in these markets.
Local Listings | | LeeAbrahamson0 -
Why is my location info on google+ correct in one state, but wrong in another?
One search was performed from Oklahoma, and one from California where the business is located. The Google maps data is wrong in CA, but correct in OK. The wrong info is the old business name that closed two years ago. I've written Google twice asking them to remove it from Google Maps, but they write back and say no. http://d.pr/i/KbIN http://d.pr/i/Gce9 Thanks for any input, I appreciate it.
Local Listings | | marshalllj0 -
Google custom url options - Brand Name or Keyword
Hi All, Recently we were given the option to choose from two custom urls for a car dealership's G+ page:
Local Listings | | EEE3
+brandname
+locationdealershipbrand Made up example:
+scottford
+nyford My gut tells me to choose the +brandname option, but curious to see if anyone had any other input about how the "location + dealership brand" custom url choice could impact local search results, if at all. (I was surprised that it even came up as an option because to me it echoes EMDs...) Thoughts? Thanks!0