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 want to remove my business from Google Local Listing Completely
I deleted my business from Google my business (GMB) but it's still showing on Google Local Listing. Kindly, tell me how can I removed completely. I need help?
Local Listings | | Sabar-din1 -
I am having an issue with multiple Google local listings.
We assigned separate numbers for each local listing (using Call Tracking Metrics). However, recently our listings were suspended and when I read through terms of service it says the number has to match on the location page. We use dynamic numbers - so of course that number doesn't show up. Would it work to also add the local number to the page in addition to the dynamic number? Or has anyone figured out a work around?
Local Listings | | vjappleyard0 -
Google Knowledge Graph Carousel
Hi - I am trying to get on the Google Knowledge Graph Carousel. I've set up G+, YouTube, Consistent NAP, local business schema, etc. but still have not been featured. Can you please help me figure out why I cannot get a carousel feature. Please help me determine what I am missing.
Local Listings | | mmmeans0 -
How best to delete a duplicate Google My Business listing
Hi Mozzers, I am in need of help please. What is the best way to remove a duplicate GMB listing? Is best practice to a) Mark as permanently closed and wait for Google to update b) Call GMB in India and ask them to delete the redundant listing (do they even do this for you?) c) Delete the page from within my dashboard settings I am worried my NAP data is being diluted by inaccurate historical listings (most of which I have been able to claim ownership of) Any help appreciated. Ben
Local Listings | | Bendall0 -
My Google business show up on map but does not show up on list and local search on Google.com
Hello all, how are you doing ? When I merged two pages = one page " Sassy Nails" It was lost all ranking and traffic on my google plus My Google business show up on map but does not show up on list and local search on Google.com main keyword: nail salon in Sevierville tn nail salon in Sevierville Tn pedicure in Sevierville Tn nail salon in pigeo forge Tn my website : www.sassy-nails.com http://plus.google.com/+Sassy-nails please help me that search?num=100&safe=active&site=&source=hp&q=nail+salon+in+sevierville+tn&oq=nail+salon+in+sevierville+tn&gs_l=hp.3..0j0i22i30l8j38.1387.8317.0.8645.37.30.4.3.3.0.283.3120.4j18j2.24.0.msedr...0...1c.1.61.hp..8.29.2798.0.V2EADE1ATMU
Local Listings | | sassynailservice0 -
Google Maps redirect notice on track-able URL's (how do I track maps visits in analytics?)
We've been using trackable URL's to track Google My Business visits in analytics for years.
Local Listings | | RedNovaLabs91
Example: ?utm_source=GoogleLocal&utm_medium=example&utm_campaign=example In the past month I've noticed Google showing a redirect notice on any listing with a trackable URL. It happened for a day or so a few weeks ago - and then it's been a more permanent situation since this past week. Redirect Notice
The previous page is sending you to: www.example.com
If you do not want to visit that page, you can return to the previous page. I'm fine with removing the trackable URL's - however - I'm not sure how to track maps visits via analytics without using them. I can't find any updated information on options. The last post on moz was in 2011 (http://moz.com/blog/tracking-traffic-from-google-places-in-google-analytics). The alternate tactics in that post no longer work. So my question is:
- How do I track Google Maps (My Business) visits through analytics without using tracking URLs?1 -
Report Google Plus Pages for Catergory Stuffing?
Doing some analysis for a clients and it have come to our attention that some of the competitors in this area have 16 to 18 categories, many duplicate and keyword stuffed. I tried to find a specific action to report this to Google, I am aware you can report spam for websites does this apply to the places pages as well? Can you just use the report abuse or report spam links? Anyone have any experience with this type of action with Google? Thanks.
Local Listings | | AFoust1 -
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