Schema - Street Address
-
I'm starting to use schema on a site currently working on the business address in the footer. What is the correct way to use data that has more than one line?
So for example the address is something like "Unit 1, Some Farm, Some Street..."
Unit 1, Some Farm
Some Street
or
Unit 1, Some Farm
Some Street -
You would do the first option. The "streetAddress" property needs to contain all the information, even if it spans two lines.
Check out the example over at Schema.org - http://schema.org/streetAddress. That address contains 2 lines.
-
thanks. So I see I 'arrange' the page layout after tagging, in this case adding the appropriate
tags. -
Yes. The layout markup should not mess things up. Just put the whole street address within itemprop="streetAddress", and you should be fine.