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
-
How to add details to Google Local Listings
Hello, A website I am working on made it to Google's Local Pack. However, it does not have the website, hours, or location info. What is the best way to add it? I added an image link for context. http://imgur.com/rT3lQ4K Thanks!!
Local Listings | | HectorCortes0 -
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 -
Adding new business location. Google My Businesses vs. Google Map Maker
Hi everybody, Adding new business location. Is it better for local visibility to add it via Google My Businesses dashboard directly or via Google Map Maker first (and then claim it in My Businesses dashboard)? Thanks
Local Listings | | Ryan_V0 -
Description on Google+ & ALL Citations the same or?
Does it matter if the description is different on Google local and all the citation websites? Some websites allow a lot of description, some don't. So my question is it only the company name+address that needs to be the same across the board or the description has to be the same too?
Local Listings | | surfsup0 -
New google maps listing was showing & now is not
Here is a brief description of what I am doing and what happened. I recently acquired a new client who had an unclaimed google business listing. We claimed the listing and within 2 days it was showing up for its main search term on Google. Almost immediately my client was receiving new calls from the listing. Within a week the listing no longer shows up with the other listings on the home page but does show up when searching on google maps. Does anyone have a lot of experience with Google+ & business listings? If yes, what are some of the most common reasons listings might be removed, shuffled around, increased or decreased in ranking, etc. Sincerely, Garret
Local Listings | | eWebify0 -
Google Plus Local - Business address, regions covered/served
Hi If you have a client whose business address is not the same as the regions they serve/cover then how do you set this up correctly in G+? So listing (& preferably website too via the G+ places connection & onpage local address schema) do help local search query listings in the target areas ? Also schema too if possible (i.e. how do you add areas/regions covered if outside of actual business address area) ? Is the only way round this to set up serviced/virtual office addresses in your target market regions ? Surely there's a way to have a business listed in areas outside of its actual address. Its a physical business but is not bricks & mortar beyond the admin office. All Best Dan
Local Listings | | Dan-Lawrence1 -
Google Authorship issues with a 200+ person company
So, I wanted to say thank you ahead of time for any help the amazing Moz community may be able to provide me with. I am going to start with giving a little background to the company I work for and then I will ask the question. We are a 200 person CFO Services firm (www.b2bcfo.com). We have partners almost all over the country and our research with potential partners and clients has shown that they like having a national presence, but they also need a regional/local presence too. To that end, we set up Google Places accounts for each of our partners as they are technically separate businesses under our umbrella. We also have the main national site (www.b2bcfo.com) and we have regional websites (e.g. www.houstonb2bcfo.com). We want to set up Google Authorship on each of our partners sections of the regional website, in the process of setting this up, we realized that the Google Plus pages we were using were Local + pages and it didn't seem to give us the option to add the "Contributor on" links to get Google Authorship working. It seems to me as if the only way we can get Google Authorship working is to set up additional Google Plus accounts (users) and then manage 2 accounts for each professional. I was wondering if anyone in the community knows a way of getting the Google plus local pages to work with authorship? Or do you have any other suggestions on how this may work? Please let me know if you need more information, Thank you.
Local Listings | | B2B.CFO0 -
How do URL's influence Google Rankings?
Hi There, I have a new client who wishes to rank in Google UK for 'Antique Fireplaces London'. Currently they rank 49th. They do not know their logins for Google Local (where they have 40+ positive reviews). And have very mess social activity (which i am trying to sort out). The domain is around 8 years old - website has just been redone (drupal) where a lot of the former SEO errors were corrected) but they seem to be outranked by much newer websites that have much lower domain authority and less inbound links. My client also has much more recognition in online trade magazines and newspapers than most of their competitors. Would buying some additional domains with the keywords they wish to rank for help? Or will this look dodgy to google? Any other quick tips to give them a boost?
Local Listings | | skehoe0