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
-
Google My Business - Service Area - Use Zip Codes or City Names?
Google allows you to choose up to 20 locations as service areas, and you can choose based on cities, counties, or zip codes. I'm trying to determine if zip codes, cities, or counties are better to select for our GMB profiles. We are located in the US. I am thinking it's best to use all 20 areas allowed on a profile as long as they are relevant, generally giving Google all the info they will let you provide is best. I also am leaning toward using zip codes because it also includes the city when you choose by zip code. For example: Entered the zip code 21009 and the service area selection provided was: Abingdon, MD 21009, USA Entering the city/state returns a selection of Abingdon, MD, USA I also think it may have to do with how people search and find your business as well? Does anyone have experience with this? Best practices? My google searching has not turned up any reliable info.
Local Listings | | WadeBayMgmt0 -
Good service that helps optimize and create citations to google map listing?
Hi guys, Anyone know good service that helps optimize and create citations to google map listing? Also is there recommended WP theme that helps the ranking on google map? Thanks in advance!
Local Listings | | Tariq_Jameel1 -
Citation verifications with phone trees
We have several clients whose practices have phone trees enabled for their primary number, which means we aren't able to send automated verification calls for Google, Yelp, ExpressUpdate (Infogroup), YellowPages, etc. Sometimes our clients are able to temporarily disable their phone trees, and sometimes said site's support teams manually verify for us once we have proven our association with the businesses. We just wanted to reach out to see if anyone had alternative solutions or workarounds, since phone trees usually cause a significant hangup. Thanks!
Local Listings | | copyjack0 -
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 -
How to add a branch location to Google+ Page
I have a verified local Google+ Page all set up for my local business and linked to my website.. it shows up nicely in local results for my city. Being ambitious I am expanding my presence into another city and would like my website to start showing up in local search for that area as well. What is the protocol for best results ? Start a new Google+ page or somehow add the branch onto the existing page (although there does not seem to be anywhere for this as the page is a local business and seems to lock it in with only a single address)..
Local Listings | | wicko1 -
Google Local Business SEO
Under "http://moz.com/blog/everybody-needs-local-seo" Q) There is a paragraph saying "If your business has multiple locations, you should have a unique location landing page for each Google Plus Local listing." Does it mean that for each of my shop (location), i have to create an brand new google plus page for it? Q) There is a paragraph saying "you're dealing with a single location, then we're talking about your home page - but these elements should also be locally optimized on product and services pages. City and state in the title tag. City and state in H1 heading" For example, if my country is australia, i have to create a page within my website and the it is optimised to the keywords "Gold Coast | Australia" in my 'product and services page'?
Local Listings | | kevinbp0 -
Different phone numbers in local listings
We are setting up Google My Business for a client who has multiple locations around the country. They use different phone numbers to track enquiries from different sources - Yell, Google+, Direct Web Traffic, PPC etc. Therefore the phone numbers can be different between Google My Business and local listings. How much does/would this affect the Local listing? It may appear that Google is penalising for businesses try to understand their customers and where they come from!
Local Listings | | Astute-Media0 -
Google won't index my site?
Hi, I've just signed up and am new to SEO. I placed my site live around mid December 2013. Initially I got 2 pages indexed but now not even they show up for site:www.traditional-cleaning.co.uk. According the Moz analytics I have 3 pages with duplicate content which are: http://traditional-cleaning.co.uk/http://traditional-cleaning.co.uk/index.htmhttp://traditional-cleaning.co.ukProblem is I have no idea how to fix this, don't know whether Google isn't indexing my site because of this and generally am a bit stuck! Can anyone have a quick look at my site and give me a push in the right direction?
Local Listings | | EdwardoUK0