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
-
GOOGLE SERP HELP
hey guys - a new member here, and huge issue i can't seem to wrap my head around where i could really use yalls help! I oversee about a couple firemen in my local neighborhood - however the issue lies in this: Lets say theres 50 firmen total if i look up lets say his name is 'john james fireman' on google then him and his GMB appears - great awesome, right?
Local Listings | | Johndavisx
Well then, if I search a second employee lets say her name is jill jansen and i look up 'Jill Jansen fireman' what happens is that john james GMB appears when i search her name then lets say i search another employee - calling him "jake bo" - if i look up "jake bo fireman" john james GMB STILL shows up - even though no where are there names related THEN the confusing part is that he only appears for select employees, not all of them. I don't know if this a metatagging issue, i went through his content seo and nothing seems to trigger it, so im at a loss - Any help would be greatly appreciated1 -
Google My Business search results for multiple listings
I am wondering how people set up their Google My Business listings to appear in the search results similar to this business, Hulme Orthodontics. I attached an image below that'll give more details. I am working with a client that has two locations similar in distance to Hulme Orthodontics, and I have tried everything and have come up with no answers as to how I can properly get Google to format the search results in this way. I assume that there is no actual way to manage this and that Google decides this on their own. However, if anyone has any insight regarding this manner, that would be much appreciated! Thank you for your help! UsEr3rK
Local Listings | | DylMar1 -
Can I use the same interior photos for multiple stores in Google My Business?
Hi, The company I work for has many store locations across the country. Getting good/quality interior pictures has become very difficult for us. We recently good a Virtual Tour from Google for one of the locations, and they took some really pictures. According to Google, the "Photos should represent the actual business" and "Represent the real-world business location". My question is: since our stores are VERY similar in the interior, can we use the same pictures for them while we get more pictures? Would Google penalize this? Thanks!
Local Listings | | StantonOptical0 -
Phone number inconsistencies - local search
Hi, Can you help me with something that is probably straightforward? A website which displays a different phone number to visitors to the one in the source code is using this for tracking purposes I assume? Since the phone number in the source code matches with the local citations I am assuming that there is no harm here in terms of local ranking? Thanks
Local Listings | | AL123al0 -
Pictures on Google Local not ours
Hi all- We recently had some pictures show up on our local profile that are not our store. When you click on them they have links to someone's blog as well. Can someone tell me how these got here and more importantly how to get rid of them. We've looked everywhere but can't find them to get rid of. Thanks for any help! Ken
Local Listings | | CandymanKen0 -
Google My Business listing - listed at CLOSED (how do I open)
Good afternoon Mozzers, I hope you can help me. I have a business listing, which is listed as being "PERMANENTLY CLOSED". In fact the business is OPEN it has just changed business name. I have ownership of the listing. I have "reported an issue" to Google and asked them to list as open, however how long will this take? Is there anything I can do to fast track this and limit the business impact? Any help welcomed, Ben
Local Listings | | Bendall0 -
Google not finding my site
I built a website, http://deeprootshgc.com. I submitted the site to google and have set up analytics. When I search for the site, deep roots home and garden center, I get their facebook page, manta and everything but the actual URL. Any thoughts?
Local Listings | | MarkBolin1 -
How to track google business traffic as organic into google analytics?
Hi mozzers, After noticing that all Google business(known in the past as google places) traffic gets recorded into direct traffic I would like to get this into organic traffic instead. What is the best method to do so? I found this great post http://moz.com/blog/tracking-traffic-from-google-places-in-google-analytics by Rebecca Lehmann but was written in 2011. Are these method the only one available to track this traffic or is there a new method we could try that would track all this traffic into organic search? Thanks for letting me know!
Local Listings | | Ideas-Money-Art0