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
-
I have 2 locations and 6+ Google Business pages... How can I combine the duplicates without losing maps rankings?
I have 2 locations and 6+ different Google Business pages due to a company merger and automatic page creation. Some of the GMB even pages rank in maps above the ones we use for certain terms and most bring traffic to my site, but I know the dupes are hurting our maps rankings. Is there a way I can consolidate these pages by combining them? Or am I better off just biting the bullet and deleting the pages I don't want to use?
Local Listings | | formandfunctionagency0 -
Google Business - Adding location into business name
Hello, I've a client that has many services in different locations and addresses with the same website and phone number. But the thing is they want me to involve location name to business name. Is there a way to add and verify as bulk ?
Local Listings | | omeryamac0 -
Citation verifications with phone trees
We have several clients whose practices have phone trees enabled for their primary number, which means we aren't able to send automated verification calls for Google, Yelp, ExpressUpdate (Infogroup), YellowPages, etc. Sometimes our clients are able to temporarily disable their phone trees, and sometimes said site's support teams manually verify for us once we have proven our association with the businesses. We just wanted to reach out to see if anyone had alternative solutions or workarounds, since phone trees usually cause a significant hangup. Thanks!
Local Listings | | copyjack0 -
Google Plus Business Page is not showing up
Hello, I had 2 google+ business pages. But the website under those pages were different. For example, www.abc.com on 1st one and then www.xyz.com on 2nd one. Both of them had the different business name and website but same address and phone number. Also, www.abc.com domain was set as redirecting to www.xyz.com. My 1st business page was ranking good but I wanted to use 2nd one only so I called up google and asked them to remove the 1st one and then they closed it. Now, the problem is that I lost the 1st one and 2nd one is not ranking for any of the keyword (I have checked all the pages in the SERP and it doesn't show up anywhere until last page). I have fixed all the citations everywhere recently but no luck in getting ranking. Can anyone suggest what steps can be done to rank 2nd one now? FYI, I am talking about local places ranking, the domain www.xyz.com is ranked well in organic ranking. Any help is appreciated! Brian
Local Listings | | BrianBotts.0 -
New design for Googles Local Search results. No more "7 Pack"
Hello MOZ-People,
Local Listings | | Andre-S
since yesterday I see (here in germany) for many keywords, that the local results in Google (the so called "7 Pack") is just a "3 Pack". AND, and this leads to my question, for keywords that suggest Google that you want to rent a vacation home, I see the possibility to enter the dates for arrival and departure (see the pic). But for now, it seems that changeing the dates has no impact on the results. Has anyone a clue, what Google has in mind with these dates? Is the an official Google response I have missed? Thank you for your answers. Best regards
André 9pIG7CV1 -
How to appear on Google Maps
We have a Google+ Local page, however, we are not appearing at all in Google Maps when searched for relevant keywords, such as Tax Accountant Dandenong (for google.com.au). What can we do to make sure that our business appears on Google Maps when relevant keyword phrases are searched?
Local Listings | | Gavo0 -
Problem Shooting with Google authorship
The following two photos show the problems that we are having with setting up our Google authorship. What steps would be necessary to correct these errors? abyP0Vg db4ZOgA
Local Listings | | Dynamo-Web0 -
How can I go beyond the results in the google pack
Hi All: I have a quick question. If you google "plumber" in San Francisco, you get about six options in the pack. After that the results go into very general topics about plumbers. Is there a search method that will allow me to see all of the plumbers in this city 700,000, not just the six Google chose?
Local Listings | | wrconard0