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
-
Influencing telephone number search
Hey All, I am not sure this is possible but here goes... I've a phone number pulled in from "Google My Business" for the company I work for Caravan Guard Insurance. We have different numbers for specific functions e.g. claims, renewals, quotes. Currently If I type in "caravan guard claims number" into Google Search it shows our general tel number which is clearly pulled in from GMB and the Knowledge Panel. Can this be influenced or have multiple options? For example If I were to search "caravan guard number" it would continue to show our default customer number like present, but if I were to search for "caravan guard claims number" it shows our claims number. Not sure it is possible, but thought I would ask. Cheers all Tim Z6iaU9a
Local Listings | | TimHolmes0 -
How to verify Google My Business (GMB) account in Dubai, United Arab Emirates (UAE)
Hi folks, I know the majority of you are based in the US, so won't be experiencing the same problem as me. I have set up a Google My Business account for a company here in Dubai, United Arab Emirates. The only problem is that I can't verify it using the normal methods like a postcard being sent out as the UAE doesn't have a postal service, so there are no postcodes to target an address. Basically I go through the process of creating a GMB account, setting the address details and map marker, then try to verify the account by postcard (this is the only way). I wait 14+ days but still no postcard arrives for obvious reasons - no postal address! So - my question is, how do we get round this problem? I know it can be done as there are plenty of businesses out there in Dubai that are verified on Google maps and GMB. Any advice or input would be greatly appreciated. Thanks
Local Listings | | SeoSheikh0 -
Reliably Tracking Google Snack Pack Rankings
I have yet to find a way to reliably see my "snack pack" standings without going all out and using a VPN. I have moz pro and it looks like I can only track organic and local organic rankings. Anyone have a solution?
Local Listings | | zact10240 -
How to add a branch location to Google+ Page
I have a verified local Google+ Page all set up for my local business and linked to my website.. it shows up nicely in local results for my city. Being ambitious I am expanding my presence into another city and would like my website to start showing up in local search for that area as well. What is the protocol for best results ? Start a new Google+ page or somehow add the branch onto the existing page (although there does not seem to be anywhere for this as the page is a local business and seems to lock it in with only a single address)..
Local Listings | | wicko1 -
Clients are not showing up on Google Places (Maps)
Dear Esteemed Mozzers, I am having trouble with a few clients not showing up on the map for Google Maps (Places). What's interesting is that for one of my clients, a number of her competitors (some of them in the same office building) appear on the maps, however, my client does not. Nevertheless, this client is on G+, uses Yext, Yelp advertising, PPC with Google, etc. and as far as I'm concerned, has signed up for every other 'local' listing service of value. With that, I'm hoping you guys may be able to point me in the right direction to get my clients back on track and showing up on the Google Maps (Places) listings. Thank you all in advance for reading this, I look forward to your responses!
Local Listings | | maxcarnage0 -
Google Places - Should my category choice be manual keywords or selected from default list
Hi All, I have a carpet cleaner hire business and am new to google places. I have been doing my listing for it but can't seem to work out whether I should choose one of the default choices in the categories and leave it as that (in my case it would be "carpet cleaning services" or should I manually type some keywords as well as this ? So for instance, I choose the default - carpet cleaning services but also manually type in "carpet cleaner hire" , floor scrubber hire etc etc as other categories Any advice or if someone could point me in the right direction would be greatly appreciated. thanks Pete
Local Listings | | PeteC120 -
What are your experiences using the new Google Local Descriptor feature?
I'm looking for any insight from those who have used the Descriptor feature on your Places listings. Has it helped in any way? Caused issues? My issues with this feature are described in this question I posted the other day. But I haven't tried using the feature yet, and I'm hoping to learn from some of you who have.
Local Listings | | irapasternack0 -
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