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
-
Do I need separate local numbers for two fitness locations?
I'm beginning local search work for a local studio that has two locations in the same city. Do I need to provide two different phone numbers in my NAPs for each studio or can both locations have the same phone number? Thanks! Ann
Local Listings | | amws240 -
Evidence that high organic rankings impact positioning in the Google local pack?
I'm looking for articles/evidence that if you have a high ranking organic listing that it will improve your chances of being in the local pack. I came across this about a year ago, but I have had trouble finding articles to support this. Does anybody know of any recent articles and/or studies that show a correlation of high organic listings and local pack visibility? Thanks!
Local Listings | | BigChad20 -
Google Local Changes Randomly & Our Site Keeps Dropping Off Search
I work for a university where we have 2 law schools. We have our one school on the other side of the state that has been around for a very long time, and then a newer school that is right on our main campus that has been around for about 5 - 10 years now. The newer of the 2 schools is having so much trouble being able to claim the name of the school in google search. If you type in the name of the school the other school (the one that has been around longer) was coming up in the google local on the right of the screen and their web URL was never showing up in search. This is a huge problem because the accreditations of the 2 schools are different, and students are showing up at the wrong school for their interviews. Search will only show a domain name that used to be owned by the older school but now gives information for both of the schools. So it'll show up in search results, but only under that other domain and not their own domain that has their name in the domain name. This school has an updated google mybusiness listing, and a google+ page with the correct listing. I've added some schema data around the business address on their site and JSON for the google+ page, and have re-indexed their sitemap a few times after some changes have been made and we are using their name more in the site. This fixed everything for a short while and we were getting the appropriate google local listing and their site was appearing in search results above the site that advertised both schools. Now, after about 3 months, it has reverted. I had the older school showing up in the google local, and the site that advertises both schools is the ONLY domain appearing. I've re-indexed the site after finding out that Drupal's timestamps that they automatically add to sitemaps aren't optimized for how google reads it. This has gotten the local listing back, but I still have the wrong domain appearing, it is the one advertises both schools instead of the domain that has this school's information. I don't mind that the one advertising both shows up, but if a user is searching for that particular school I would really like to get that domain to appear first above the one advertising both schools and the older school. Right now the new school isn't even in search results except for being under the site that advertises both. I wasn't sure if this was something that Moz Local could help me fix by adding the listing across the web, or if there is something else on the sites I can be doing to help them solidify their name in google search/local. Also - is this subdomain that is advertising both of them hurting them or help them? I was thinking about taking that domain down to one page that acts as a direction source to the 2 domains rather than having a ton of information and keywords that take over the results for their name since that domain is older (and used to be associated with the old school only before the new school was built) Thank you for any advice on this issue as I'm still pretty new to SEO and to the university. Thanks again!
Local Listings | | amaray4030 -
Google Plus Business Page is not showing up
Hello, I had 2 google+ business pages. But the website under those pages were different. For example, www.abc.com on 1st one and then www.xyz.com on 2nd one. Both of them had the different business name and website but same address and phone number. Also, www.abc.com domain was set as redirecting to www.xyz.com. My 1st business page was ranking good but I wanted to use 2nd one only so I called up google and asked them to remove the 1st one and then they closed it. Now, the problem is that I lost the 1st one and 2nd one is not ranking for any of the keyword (I have checked all the pages in the SERP and it doesn't show up anywhere until last page). I have fixed all the citations everywhere recently but no luck in getting ranking. Can anyone suggest what steps can be done to rank 2nd one now? FYI, I am talking about local places ranking, the domain www.xyz.com is ranked well in organic ranking. Any help is appreciated! Brian
Local Listings | | BrianBotts.0 -
Home Page Online Citations, Blogs, etc
I have 400 backlinks to home page no backlinks to the other 20 pages, i have used yelp, free index and other online citation sources all lead to my home page as do articles, blogs etc. My home page ranks position 1 page 1 google for keyword, should i know start adding backlinks to the other 20 pages via links from blogs, articles, youtube, etc Site is 2 months old thanks
Local Listings | | nickowain0 -
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 -
How to get listed on Google My Business without any physical location ..?
I want to know the process to get listing on Google my business. I have a website, domain email ID, address all information, but Google is asking for Storefront photo. So, please suggestion me the process to get listing on Google Local Business without any storefront. Thank you.
Local Listings | | 1akal0 -
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