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
-
Bingplaces.com wanting access to google account
Hello, we have a google my business account. On bingplaces.com it is saying they would like access to our google account. Is that normal for bing to share access with the google my business account? Thanks.
Local Listings | | MeritInsuranceGroup0 -
Seasonal Setting Options for Google My Business
Hi there, Not sure if anyone will have any insight but I have a seasonal business that I am closed for from September to March. I don't want to mark my business as "permanently closed" through Google My Business as I don't want my customers to think I've gone out of business. I've seen a few times through forums that you can change your business to temporarily closed, but I can't find the specifics on how to do this. Any insight, suggestion or resources would be great! Thanks!
Local Listings | | MainstreamMktg1 -
Google business spam query
Hello Our Business is Verified Business Listing in google, as of Everything ok, But there are around 6-7 other company Who Registered Our website as there website, so my question is How should we make them spam & make Our website verified With Our main Location only, How to make Our business Listing Secure, please Guide as, to help Resolve this issue, Thnx in advance
Local Listings | | falguni-iepl0 -
Google My Business pages for New Construction Communities
I have a number of builders of new homes as clients. Typically, they build out a whole neighborhood at once and give the neighborhood a fancy name. We were planning to create Google My Business pages for these communities but then ran into some potential challenges. As new communities, they are sometimes not on Google's radar yet Some of them have model homes where you might take a tour with a realtor that serves the community exclusively but many don't. So here come the questions... Is there a way to make Google speed up its process of recognizing new addresses? I have to choose an address to associate with the GMB page, probably the address of model home. Is this going to create annoying problems for a buyer who someday buys that model home? Since some communities don't have a model home, I could arbitrarily assign an address of one of the neighborhood homes to the GMB page, but this leads to the same question about creating a GMB page that will exist after the builder has sold all the houses in the community. Will it be weird to have the GMB referring to someone's private residence down the road? My assumption is that claiming a GMB page would help with local ranking if someone searches for something like "new homes" in addition to providing easy driving directions to someone who has done a bit of research and Googles the name of the new home community while out driving and searching for homes. These seem to be the main benefits, but are the challenges associated with questions 1-3 even worth the trouble of trying to claim listings for these communities?
Local Listings | | TheKatzMeow0 -
Local Help! Google+ Accounts for New Brand & Service Sites
Hi Mozzers! I have a lot of knowledge in local search, G+ page setup/optimization, etc, etc... However, I'm about to begin a business based around "home services". The brand will be ABC Home Services as the umbrella. Then under it will be the individual services like "ABC Carpet Cleaning" "ABC Roofing", etc... Each service will have it's own website for optimization purposes and local search authority building as well as the services will be developed over the course of a couple years ie: carpet cleaning would go up 1st, then the next service and so on... I have purchased all of the domains I want for the services to focus on. What do you recommend I do in terms of setting up Gmail accounts/G+ accounts? Individual service related Gmail accounts and have a main "ABC Home Services" Google account and then add in the service G+ pages over time? I'm open to any questions, but trying to make this the most efficient for me and my team and also the best if can be for local optimization goals and criteria. Thank you! - Patrick
Local Listings | | WhiteboardCreations0 -
Google maps listings
Hi all, I just wondered what determines the company listings that are displayed in maps. From what I can see any businesses highlighted in these lists have optimised Google Places pages and it doesn't seem to be based on general ranking as these lists seem different to the general SERPS. Any thoughts at all appreciated. Pls see attached image. Also, is there anything other than optimise your Places listing that might help ensure you are seen in these results? IUK871m.jpg
Local Listings | | davidmaxwell0 -
Verifying business info with old address and inactive phone listing
I'm cleaning up a number of inaccurate business listings for a client, starting with an old Google Plus page. It's unverified, but both the address and phone number are so old that calls or mail send to those will not be forwarded. Any suggestions for verifying a business listing when the typical verification methods simply won't work? Thanks!
Local Listings | | flyntime_tx
Mike0 -
How to get a verification tick next to the URL in a Google Plus Local page?
Google Plus Local: https://plus.google.com/+PrestedHallFeering Website: www.prested.co.uk So how do I get the verification tick next to the URL on this businesses Google page? Also, even though the website is much strong then those in the map listings for Wedding Venues In Essex, whats preventing this website from appearing in there? My local optimisation knowledge is poor!
Local Listings | | jasondexter0