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
-
GOOGLE SERP HELP
hey guys - a new member here, and huge issue i can't seem to wrap my head around where i could really use yalls help! I oversee about a couple firemen in my local neighborhood - however the issue lies in this: Lets say theres 50 firmen total if i look up lets say his name is 'john james fireman' on google then him and his GMB appears - great awesome, right?
Local Listings | | Johndavisx
Well then, if I search a second employee lets say her name is jill jansen and i look up 'Jill Jansen fireman' what happens is that john james GMB appears when i search her name then lets say i search another employee - calling him "jake bo" - if i look up "jake bo fireman" john james GMB STILL shows up - even though no where are there names related THEN the confusing part is that he only appears for select employees, not all of them. I don't know if this a metatagging issue, i went through his content seo and nothing seems to trigger it, so im at a loss - Any help would be greatly appreciated1 -
Google My Business Shared Address Problem
Hi, I have an issue. Our organization shares a church with another organization. Years ago they claimed the address. They have their Google Business category set up as "Religious Organization". About 6 months ago we started sharing the same church with them. We are a total different organization. We now have a verified listing (same address but with STE 100 in it) with the main category being "Church". There are a few issues I am seeing: When doing a search for our address, the icon is the default one, whereas all the other churches in the area show the church icon. Is this because they claimed the original address as "Religious Organization" and because we only have STE 100, even though labeled as Church, Google doesn't see it that way? If you search for the location + church, neither of our organizations show, even after 6 months. They only show if you search for the organization name or address. Could this be because Google doesn't consider this address (therefore both of us) as a church and doesn't show it? Here is our Google local listing and the one we share with. Any help would be greatly appreciated. https://www.google.com/maps/place/1018+Parkway+Dr,+Spring+Hill,+TN+37174/data=!4m2!3m1!1s0x8863828b8f17015b:0x59fd9715acc7e144?sa=X&ved=0ahUKEwi7h5DCqfbXAhXBc98KHXcyA4gQ8gEIKDAA Thank you!
Local Listings | | vetofunk0 -
What is the detail process of google listing?
Could anybody share how google listing will be ? the step by step process for Google business listing
Local Listings | | Tabassum0 -
How do you select a Google category for the SERPs?
Recently I was looking up law schools in Texas and came across a SERP listing I had never seen before. Google provided the category "law school" and narrowed it down by geographic location. I checked the code on both websites for schema and was unable to locate it. Furthermore, one GMB listing was claimed and another was not. I'm wondering why both Texas A&M School of Law and Houston College of Law showed up but University of Texas Law School did not. I have attached a screenshot of the SERP to see if anyone has seen this before or can provide any insight. Search term was "list of law schools in texas" but the same snippet showed up for "best law schools in texas." Thanks 8XHvZt4.png
Local Listings | | DigitalMarketingSEO0 -
Google My Business for 2 Websites With the Same Location
Hi,
Local Listings | | alihus
My client has two separate websites with different business names but under one location and phone number. The websites are for two separate services that he offers.
My question is that if creating two Google+ for business pages for the two businesses bad for their SEO or local ranks?
And what about creating local listings for both?(This does not seem logical to me personally!!)
Thank you for the kind answers in advance.0 -
Google not finding my site
I built a website, http://deeprootshgc.com. I submitted the site to google and have set up analytics. When I search for the site, deep roots home and garden center, I get their facebook page, manta and everything but the actual URL. Any thoughts?
Local Listings | | MarkBolin1 -
Can we use different names in Google places for each location of a business?
I have a client who has several locations for their business. The company and the original location have one name - let's call it "National Clinic". Then, they have a series of urgent care clinics, named with the structure "National Clinic Urgent Care: Main St." and "National Clinic Urgent Care: Central Plaza". The When I'm creating my directory listings, for the urgent care locations, which option would you use for the name? a) National Clinic
Local Listings | | irapasternack
b) National Clinic Urgent Care
c) National Clinic Urgent Care: Main St.0 -
What does this message from Google Places really mean??
Hi people, today I've got this message from Google Places. I Don't know what that exactly means. when I look in my places account, I can find no "more information" and I see no issue?? Here's the message: _Hello, We’d like to inform you that Google Places no longer accommodates more than one authorised owner per business location. Your account contains one or more listings that have been identified as duplicates of other listings and as a result, some of the information that you provide will not be shown to Google users any more. To get more information or request access to the other listings, please log into your Google Places account. Yours sincerely,
Local Listings | | Andre-S
**The Google Places Team **_0