#1
  1. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Feb 2016
    Posts
    65
    Rep Power
    2

    Learning about schema - is it better to have inline html or JSON Schema?


    I have been digging into schema's recently. I constantly see different types and they mainly seem to be inline html or JSON. Which method is preferred and better?

    One thing I have found challenging is when all of the information is not within the same div. So for example I have.

    Which is for a localBusiness point at the url and name

    Code:
    <div id="footer-bottom" itemscope itemtype="http://schema.org/LocalBusiness">
    			<a href="https://example.com" itemprop="url"><img src="https://example.com/images/LogoOpt3.png" id="footer-logo" alt=" | A Website Design Company"></a>
    			<h2 id="bottom-description">An Ohio Web Design Company</h2>
    			<h2 class="hidden" itemprop="name">Example</h2>
    		</div>
    But then if I have a div on a different part of the page with my business number/address do I just wrap that in the localBusiness itemtype again or will they be conflicting?


    Anyone know how to do the geoCircle?

    Any insight on any of this would be helpful.
  2. #2
  3. No Profile Picture
    Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,365
    Rep Power
    2484
    Personally I prefer the ld+json methods. They don't cause rendering problems and do not affect the page view that visitors see.
  4. #3
  5. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Feb 2016
    Posts
    65
    Rep Power
    2
    Am I able to use multiple types with the ld+json method? I am wanting to use itemtype="http://schema.org/LocalBusiness" and itemtype="http://schema.org/serviceType"? I am unsure how to do it with that method.

    Anyone else have any opinions?
  6. #4
  7. No Profile Picture
    Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,365
    Rep Power
    2484
    Hey mate

    The simple answer is "Yes". You need to go to schema.org and read up on all their material. Then go to Google, they have a lot to say about how to use schema code to do precisely what you want.

    Here is google's link for info...
    https://developers.google.com/search...ark-up-content

    Comments on this post

    • Digital Marketeer agrees

Similar Threads

  1. Need help improving my JSON-LD Schema
    By yogabearpc in forum Search Engine Optimization
    Replies: 1
    Last Post: Aug 7th, 2016, 09:19 AM
  2. Using JSON-LD local schema for a service area business?
    By yogabearpc in forum Search Engine Optimization
    Replies: 1
    Last Post: Jul 28th, 2016, 04:13 AM
  3. where to place json-ld schema localBusiness data
    By bestseoexpert in forum New User SEO Questions and Answers
    Replies: 1
    Last Post: Oct 20th, 2015, 06:12 PM
  4. can JSON-LD replace schema.org
    By trentfx2 in forum New User SEO Questions and Answers
    Replies: 2
    Last Post: Apr 14th, 2015, 05:37 PM
  5. Can I add the Schema Markup for Local business with the Video Schema
    By rohitmishra183 in forum New User SEO Questions and Answers
    Replies: 2
    Last Post: Apr 3rd, 2015, 01:51 PM

IMN logo majestic logo threadwatch logo seochat tools logo