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
-
How Do I Remove Address from Google Business Page?
Not very up to date in handling local listings, so here's my situation. I have an office that is not going out of business, but instead going virtual. So that physical address will no longer exist but the team is intact. So I am dealing with the Google Business Listing page for this office at https://business.google.com/ In the "Published on" section, it has Google Search, Google Maps, and Google+. I want to remove it from Maps and the address from this account. There's an address for this store, but editing it only seems to allow changing, but not removal. There is also the option of "Mark as Permanently Closed", but surely that isn't the best option since that will leave a nasty red "PERMANENTLY CLOSED" in the results when searching. What's the best course of action here?
Local Listings | | nbyloff0 -
Google My Business for a Multi-Business Showroom
We are considering signing up for a multi-business showroom co-op concept in our area. Basically this space (1 address) has 10+ businesses that have their products represented at the location. There is one person working that passes along the leads to the individual companies when someone visits the showroom and shows interest in a product. I know at least 5 of the businesses are using this address for a Google My Business profile, and we would like to also. I am looking for some advice on best practices and strategy to ensure were not violating any of Google's policies. Here is a link to the showroom: http://www.brookfieldhomeandideacenter.com/
Local Listings | | JohnWeb120 -
Can I request removal of a duplicate competitor Google Business listing?
I have a local competitor that is boggling me with his local pack rankings. For certain keyword phrases, he is ranking in multiple local 3 pack spots. The thing is, he only has one business location. So basically he has two different Google maps listings for the same business location ranking in the local pack. The NAP information is different for both listings except for the physical address. I can't understand for the life of me how this is actually helping him instead of hurting him.... My client has way more citations. A decent blog with solid content. An SEO optimized mobile website (compeititor website is not mobile ready). Etc..... Don't get me wrong, my client is doing really well and is ranking top 3 in his area for nearly 30 industry related keyword phrases. I guess that is part of the reason I'm so boggled. Can anyone provide any insight? Can I bring this up to Google and have them remove the duplicate listing somehow? I'm literally sitting #4 in the local pack for some valuable keywords, and the only reason I'm not #3 or higher is because the same physical business location is taking up two of the spots. Any help is appreciated. Thanks!
Local Listings | | GO2Tech0 -
Does Google Analytics automatically desseminate Maps/Places traffic from Organic traffic? Do webmasters still have to apply UTM parameter tracking to URLS in their GMB profile listings?
It was recommended a few years to apply UTM parameters to local URLs to get more accurate referral/source tracking in Google Analytics. Here is an old Moz post about this process https://moz.com/blog/tracking-traffic-from-google-places-in-google-analytics However does GA automatically separate this traffic out nowadays? Is there a method to identify the traffic coming from Maps/Places without UTM parameters? Is UTM tagging still necessary if we want to see these traffic reports?
Local Listings | | RosemaryB0 -
Google My Business
I have a quick question about Google my Business listing. If moving a business to a new location, would all you need to do is edit the listing with the new NAP? The business is verified. Would I need to do anything else? Thanks for your help.
Local Listings | | Kdruckenbrod0 -
Adding new business location. Google My Businesses vs. Google Map Maker
Hi everybody, Adding new business location. Is it better for local visibility to add it via Google My Businesses dashboard directly or via Google Map Maker first (and then claim it in My Businesses dashboard)? Thanks
Local Listings | | Ryan_V0 -
Google Places for Business was removed after 6 months
Hello Everyone, After 6 Months, Google has removed us from Google Places for Business and Maps. We did everything properly and we where serving on the 3rd position. Now it seems that the listing is back in Pending? 1. Does anybody have any suggestions how to proceed or how to handle this?
Local Listings | | EVERWORLD.ENTERTAIMENT
2. Can we use places listings again using the same Address?
3. How long will it take to process again?
4. We also heard that some one might of complained?? Your help is much needed. Thanks0 -
Anybody know of a way to speak directly to a Senior Level Associate in the Google Maps Dept?
I have a client who's Places listing is marked as being permanently closed (has been for three weeks). We were ranking in top spot on local for 2 years +/- and now nothing. Nowhere. Where we do show up, it says permanently closed. (They are not closed). This is the response I received: "After investigating your problem, we've found that it is being caused by a technical issue and our engineers are pursuing a resolution. At this time, they do not have an estimate on when the issue will be resolved, but please know that they are actively working on improving the Google Maps and Google+ Local experience for our users." This was three weeks ago. Here is listing: https://www.google.com/maps/place/The+Davis+Law+Firm,+LLC/@35.0796228,-106.6070767,17z/data=!3m1!4b1!4m2!3m1!1s0x0:0x4750748d0724dd7c?hl=en Any suggestions?
Local Listings | | jasonleerogers0