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
-
Best address to use on Google business listing for youth sports program
Hello, Moz Community! I'm helping a friend with some local marketing for his youth sports program. He trains his kids at a community center and a public park where court times are managed by the city. His address in his Google business listing is currently the community center, but that is shared with multiple businesses including the community center itself. I know he needs an address that is unique to his business, but he lives outside of the city in which his program is located. Our goal is to boost exposure in the city in which his program is located. Since 1) his business address is located outside of the city in which he conducts business and 2) the addresses at which he conducts his business is utilized by multiple businesses including the actual property owner, what options do I we have for an address that Google will recognize as valid and won't cause ranking issues? If there is nothing we can do in the current situation, what are steps we can take to address this issue for his business? Thanks a lot!
Local Listings | | Tony_GP0 -
Google Places - Remove Completely vs. Permanently Closed?
This is a bit confusing to explain so bear with me please. We have a client that used to have an old law practice with a partner. The site and backlinks were very large and it had a lot of domain authority. It also had a very large citation profile and history. The two lawyers have since split, but there remains multiple Google Places listings out there for the old partnership. We have fixed the one showing the old business practice name, but not the one that he setup for his personal name. One of the biggest hassles is that the old location he setup has his attorney name in the actual listing. The issue is that we cannot close the old listing (we tried this), as it comes up permanently closed when you Google his name. If you search for his new Law Firm, the correct business listing that we have set up will show. The new listing also includes his name and has over 50 five star reviews. We hoped that the large amount of legitimate reviews would get rid of or at least suppress the old listing, but it is not happening. So I am a bit confused as to what to do. If we close the old listing Google shows the red "permanently closed" listing when you Google his name. We cannot update the old listing information to show his new address as then it will compete with the new listing that we setup that shows all the positive reviews. The old listing was not created by us, and the new one was. The new one shows when you search for his Law Firm name in Google, but not for his personal name i.e "NAME HERE ATTORNEY" or "HIS NAME and LOCATION" Interested to hear your thoughts. The only way I can think to fix this is to contact Google directly and see if there is a way to permanently delete the listing from Google maps, but I am not aware that this is possible.
Local Listings | | David-Kley0 -
Using same business number on different websites
Hello, I have number of websites in different locations with different business name and address with verified listings. However, I am thinking to use the same phone number on all the websites as it is difficult for me to keep track of all the numbers. So, is it okay to use the same phone number on different websites with different business name and address? Waiting for your thoughts. Brian
Local Listings | | BrianBotts.0 -
Removing Unverified Listing From Google
We have an old unverified listing that has our information on it, but we can't get it off google. I told them months ago it was closed, and it is marked as closed in Google...but it still shows up. Moz Local is telling me this is an inconsistency that hurts our local rankings. I went to delete the page from our Google Business/Place, but if I did that, the warning said that I would just not have access to the page, and that the listing would still show up on google. How do I permanently get rid of those thing, so it's not longer an inconsistent listing? Ruben
Local Listings | | KempRugeLawGroup0 -
List of categories for Google Business for the UK
Does anyone have a compete list of the business categories for the UK Google Business listings? I have done a few searches on line and not uncovered anything up to date. Thanks in advance.
Local Listings | | highwayfive0 -
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 -
Opt out from certain Google properties - what's the downside?
Hi Moz Community! I manage a site where we want to have a support phone number for certain cases, but not for it to be front and centre for all our customers. At the moment, most of our unwanted call volume comes through the number showing up in SERPs due. We haven't included it in any of our listings, but it seems that Google has included it due to its presence on our site. We are now considering using the "Opt out from certain Google properties" tool on Google Webmasters but are concerned that by not playing by Google's rules that we may face some sort of penalty. https://www.google.com/webmasters/tools/opt-out Does anyone have any experience of using this tool or any thoughts on potential risks to our search rankings? Thank you!
Local Listings | | HireSpace0 -
Google Maps Help
Hello, I'm helping 2 clients with Google Maps Client 1
Local Listings | | ogdcorp
Has 4 Locations, I claimed all 4 but when searching his name only 3 are showing up on the first page.
All 4 show up when clicking on "More results" Client 2
Has 3 Locations, all of them were claimed by another company 1 year ago. But now I cant re-claim them unless the other company releases them but that wont be easy. Any suggestions? Also, when dealing with multiple locations is it better to have 1 email address for all or 1 email for each? Thanks0