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
-
Can having a google business listing harm a company selling services globally?
Hi, We are a SAAS platform offering cloud based solution for educators. We had a google business listing in India and recently added one for US as well. Our keywords rank significantly better in India than in US. Is it a good idea to remove these business listing? Also, what could be other factors that impact GEO SEO rankings for a online company like ours?
Local Listings | | WizIQMarketing0 -
???? "Google My Business", Search Console, Google Webmaster Tools
I added a Google+ Page for my business several years ago. Now when I click on "Search Console" within Webmaster Tools it is asking me to provide business information that I entered several years ago for Google+. Is this normal? Should I fill it out? It seems that this info is redundant with what I filled out for Google+. When I enter the name of my business (Metro Manhattan Office Space, Inc. ) in Google, a listing appears to the right, so it seems that Google already has my details. Thanks,
Local Listings | | Kingalan1
Alan vkpDA XgCcQ0 -
HELP! Google Local dropped!
I noticed that my Google Local page does not show in any search results anymore. Looking at Moz Local, it appears that I had 250 views on August 30th and 0 after that. It just dropped overnight. I looked at Google My Business and I noticed that I had a duplicate listing (no idea where it came from). It wasn't verified though. I deleted that. I also noticed that my address has been changed to Drive instead Dr. I was very careful in making it the same everywhere, but it changed without me changing it. Perhaps someone so kindly "suggested an edit" and I didn't see that happen. Anyone have any ideas. My organic search ranking is still strong. #3 for most search terms. And we have a very strong Google Local reviews. I mean, it even shows business that have been permanently closed over me!!! And we have photos, great reviews, and regularly post to Google+. I seriously need some help. I am a small business owner that does all of my own SEO because I can't afford a good SEO. 😞
Local Listings | | CalicoKitty20000 -
1 company, 2 shop locations, 3 Google+ pages - help!
Hello, I work for a furniture retailer and I'm doing an audit of our digital presence and need a hand with our G+ pages. Thanks for reading! We are one company but with two shops, located about 10 miles apart. One shop has been established over 10 years, the other is roughly a year old. The shops are called: 'Our Company' and 'Our Company, Second Location' Each shop has its own website (which is confusing and we'll hopefully shortly revert back to just one) We currently have three Google+ profiles: the first G+ was set up a number of years ago and was set up as a personal page, not a business and it links to both shop's websites. The other two G+ pages appear to have been created when we created a Google Local listing for each shop. My questions are: What is the best tool to handle all this info across the web? Bright Local looks good. Should I junk the original G+ profile? If I do, how will I know I won't remove any important stuff from Google? Should I keep 2 G+ profiles, one for each store or have 1 G+ profile and put both store's details in there. Or should I have 3 G+ profiles: 1 for our company name, and 1 for each of our 2 locations? When I search for 'Our Company', I only ever get our original company to show in the Google Local listing on the right hand side of search results. Our second shop is shown in 'People also search for'. Is this the best I can hope for? Is there any way to control this? Both of the G+ profiles that are linked to our Google Local listings have the original G+ URL. Should I customise this and if so, are there any naming conventions I should follow? What should we do with the (2?) G+ profiles for each shop? Both have currently got no content on them. Thanks in advance for any tips and advice.
Local Listings | | Bee1590 -
Removing Unverified Listing From Google
We have an old unverified listing that has our information on it, but we can't get it off google. I told them months ago it was closed, and it is marked as closed in Google...but it still shows up. Moz Local is telling me this is an inconsistency that hurts our local rankings. I went to delete the page from our Google Business/Place, but if I did that, the warning said that I would just not have access to the page, and that the listing would still show up on google. How do I permanently get rid of those thing, so it's not longer an inconsistent listing? Ruben
Local Listings | | KempRugeLawGroup0 -
Merging Google Place Accounts to Merge Reviews for same Company
Hi Everybody If you have 2 Google Place Listings (Local Listings) 1 with 1 Location and 1 with another Location, is there anyway to merge the 2 Accounts. 1 of them has lots of Reviews and the other contains some Reviews so Ideally there would be 1 Account which merges all Reviews into 1 Account Multiple Locations can then be added into the 1 Account. Any Ideas Thanks Adam
Local Listings | | AMG1000 -
Getting Google To Correct Your Citation
Over the last few months, I have done everything other than drive out to California and bring google flowers to get them to edit the stupid zipcode for our downtown Tampa office. Does anyone have any experience getting these types of situations corrected? I'm at a total loss, and I do not know what else I can do. Extremely frustrated...but always grateful, Ruben
Local Listings | | KempRugeLawGroup0 -
Structured Data in Google Webmaster Tools
Have noticed a significant drop in structured data items and pages on GWT in the last one week. We have not made any changes and can still see that we have the rich snippet implementation in place across our site. Has anyone else noticed this drop? What could be possible reasons for the same? On 8th July we had 646,801 items showing up on Structured Data, which dropped to 227,529 on 11th July and 66,161 on 14th July 2014!! TIA Asif
Local Listings | | prsntsnh0