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
-
Incorrect Image is Displaying on Google My Business Knowledge Graph - Need Urgent Solution??
Incorrect Image is Displaying on Google My Business for our company. We have updated new image on google business But still, Google is fetching and showing old image on the google my business knowledge panel. What will be the right fix for this? Our site URL : www.yolobus.in
Local Listings | | AnkitS.19900 -
Google listing only appears when I move / zoom in or out of the map
Hi everyone, We are having an issue with this local business. The Google listing isn't immediately appearing on the map. You have to move the map or zoom in and out for the listing to appear. I find this really odd as our competitors - with no reviews and way further in proximity - are appearing with no issues. The listing is only about 4km where I'm doing the search, while competitors with no reviews are about 20km away. We are ranking in the top 5 organically for the search term I used (pool renovations brisbane), but nowhere in local unless the map is moved. When the listing appears, sometimes the pin also looks grey instead of red, while others are red (if that makes sense). On top of this, their organic rankings have also been on a downward trend since June. I'm currently doing a backlink audit to see if it's contributing to the issue. If anyone also has other ideas, could you please let me know? Thanks.
Local Listings | | nhhernandez1 -
Rank English Terms in Swiss Google Google.ch
Happy New Year! I have a .com site that does well on Google.co.uk. But we would like to rank on Google.ch (switzerland) for English terms. There is a large expat community, living in Switzerland that would benefit from our services. Any ideas how I can improve organic SEO on the Google.ch SE? Many thanks! PM me for website. Otherwise I'll get lots of spam to my client 🙂
Local Listings | | SolveWebMedia0 -
Google My Business - bulk location upload vs. single upload
Hi there, I have a question regarding Google My Business listings: We currently have a business with few offices (less than 10). Each office has it's Google listing under the same Google account.
Local Listings | | OrendaLtd
We plan on opening new offices at a certain pace, let's say two a month, which means we'll have more than 10 listings in the near future.
As far as I recall, Google allows up to 10 listings per account, which means it won't suffice. On the other hand, We do not have 10 offices at the time being, which means we're not eligible for a bulk upload. Any ideas how to handle this situation?0 -
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 -
Pictures on Google Local not ours
Hi all- We recently had some pictures show up on our local profile that are not our store. When you click on them they have links to someone's blog as well. Can someone tell me how these got here and more importantly how to get rid of them. We've looked everywhere but can't find them to get rid of. Thanks for any help! Ken
Local Listings | | CandymanKen0 -
Google Plus Pages for Doctors, SUPER confusing..help!
Hi Moz community, I carefully reviewed all info I could find and still cannot figure how to make this work. I am working for a medical practice that has 4 different office locations in my county. There are also 5-6 doctors and all of the doctors MOVE throughout the week from location to location. I know (from reading Google's exact guidelines) that they suggest creating a page for the doctor using only their name in addition to creating a page for each location. How do I set those doctor pages up? What location do I use? What contact info is okay to use etc? Super lost. Thanks all! Ricky
Local Listings | | RickyShockley0 -
Completely lost Google Local rankings for main keywords
Hi there, Our website, petmedicalcenter.com, used to rank very well in Google in the local section - usually within the top 3 spots for 8 or so keywords. Then last fall our rankings started to diminish. We would rank really well for a few days and then would be no where to be found in the local section - this cycle kept going for a few months. Now, within the last few weeks our website is nowhere to be found in local for our usual keywords. After a few years of success with SEO, I know the landscape is really starting to change. My problem is that I don't even know where to start to try and get us back on to the top spots. I know this question is rather broad, but I am really at a loss here. Any help is greatly appreciated!! http://www.petmedicalcenter.com Main Keywords: veterinarian las vegas, vets in las vegas, veterinarians las vegas, las vegas veterinarians, vet las vegas Thank you for your help! Brant
Local Listings | | BCB11210