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
-
Can having a google business listing harm a company selling services globally?
Hi, We are a SAAS platform offering cloud based solution for educators. We had a google business listing in India and recently added one for US as well. Our keywords rank significantly better in India than in US. Is it a good idea to remove these business listing? Also, what could be other factors that impact GEO SEO rankings for a online company like ours?
Local Listings | | WizIQMarketing0 -
Google My Business Pages - Still Relevant or Phasing Out?
Google My Business plays a big part of getting your company to rank in the local pack for local search queries. Apart from making sure this is correct and up to date, where do you think the future of GMB pages is headed? Will Google eventually start phasing these out and come up with a different way to populate the local pack?
Local Listings | | BlueCorona1 -
How best to delete a duplicate Google My Business listing
Hi Mozzers, I am in need of help please. What is the best way to remove a duplicate GMB listing? Is best practice to a) Mark as permanently closed and wait for Google to update b) Call GMB in India and ask them to delete the redundant listing (do they even do this for you?) c) Delete the page from within my dashboard settings I am worried my NAP data is being diluted by inaccurate historical listings (most of which I have been able to claim ownership of) Any help appreciated. Ben
Local Listings | | Bendall0 -
Google My Business URL Choice
Hi guys, we have a national chain hardware store hardware store as a client. We built them a new website, and now they want us to do local SEO to help them rank better. We are debating for GMB whether to promote our new website URL or use the location page on the national hardware site. Most similar stores seem to promote the location page on the national site, but the client just spent money on having us build them a new website. What gives our client the best chance of ranking better?
Local Listings | | JohnWeb120 -
Should I change my local listing Service type from Brick and Mortar to Service Area in Google? And will it affect my ranking in a negative manner?
Currently my company Big Boy Bail Bonds, Inc is ranking very well for the city it is located and, currently service type is brick and mortar. But my Company does not only service people at our location but we service the entire county of Los Angeles. And I wanted to know if you would advise me on weather I should change the service type from brick and morter to service area. and if doing that would effect me in a negative manner when it came to my ranking? Plz advice Thank you in advance.
Local Listings | | LittleDog1 -
Don't Let Your Google My Business Dashboard Become Inactive
Google's Jade Wang has offered some important clarification on the scenario of set-and-forget Google My Business dashboards - Google could determine that they are inactive and un-verify the listings they contain. She writes, "In some cases, we may contact Google My Business users via email to confirm that they are still actively managing a business page. If a user is unresponsive to our attempts to contact him or her and has not logged into Google My Business for a significant length of time, then we may unverify pages in the account. We're doing this in order to continue to provide users with the best experience when they’re looking for local businesses like yours. If you find that a page in your account has been incorrectly unverified, please contact support to get assistance restoring verification. It's a good idea to keep an eye on the inbox associated with your Google My Business (Locations) account. It's also a good idea to regularly log into Google My Business (Locations) to confirm that your business information is current and accurate." Mike Blumenthal initially posted that it was necessary to perform a null edit (a tactic in which you view the edit screen of your Google+ Local listing and hit 'save' without making any changes), but Mike has since updated his post to clarify that a null edit isn't actually necessary. According to what Mike learned, you can simply log into the dashboard once every few months, or if you have to make real edits or you post on your page, that should provide an adequate signal to Google that the dashboard is still being actively managed. In the past, an agency with a limited contract with a local business could create the company's Google+ Local page and step away from it. Of course, it's the ideal that your clients are actively posting to their Google My Business page, if it's the right social strategy for them, but many clients don't do this. And so, they'll likely be getting an email from Google one of these days asking if they are still active. If that's the case, you may be hearing from past clients asking if the email is real and what they should do. Fortunately, they should be able to make the the quick visit to the dashboard without help. But for agencies with large numbers of long-term clients, this business of keeping track of how often you've logged into the clients' dashboards could be a bit of a hassle. Just one more task to add to the to-do list. Google has been going through some growing pains recently. With the lock-down of the editing function on Mapmaker and the further removal of Google+ links from more places, many Local SEOs and local business owners are wondering where Google is headed in the local space. To my mind, the fact that they are trying to police active vs. neglected listings is a bit of a sign the Google remains serious about delivering Local quality. And for all of us ... that's a good thing!
Local Listings | | MiriamEllis4 -
How can I add another Google Places listing to my existing business?
Hey there, Does anyone know how I can add another Google Places listing to the following account? The company now has two stores so I'd like to get both listed. https://plus.google.com/u/0/b/107389046695957843430/+FinsahomeCoUk/posts I've tried using https://www.google.com/local/manage but that only appears to let you add a minimum of 10 locations?
Local Listings | | Webrevolve0 -
Convert Google Plus page to Business page
I have a google plus page for my company edspire.com, https://plus.google.com/b/107395030190889162381/107395030190889162381/posts When I created it I don't think I set it up as a business so I'd like to convert to one. As far as I can see it is not possible to do this. What is the recommended process, do I just create a new one and migrate content over or is there some way to merge them? Should I then delete the old one or is it helpful to keep double posting? Thanks, Jim
Local Listings | | yojimbo230