The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Implementing Multiple Itemprop Elements in a Single Span

    Implementing Multiple Itemprop Elements in a Single Span

    Intermediate & Advanced SEO
    5 3 334
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CMIMedia
      CMIMedia last edited by

      Hi All,

      I'm trying to figure out whether or not my developer is properly implementing Itemprop elements in code. Here is an example of where my confusion lies:

      "If you're taking an itemprop=" name drugClass" itemtype="http://schema.org/DrugClass">antiepileptic drug"

      When the span opens both recommended itemprops "name" and "drugclass" are listed together. Does this allow both to be properly read or is it effectively creating an itemprop that does not exist?

      Thanks!

      1 Reply Last reply Reply Quote 1
      • PatrickDelehanty
        PatrickDelehanty last edited by

        Hi there

        You can try these tools from Google and Yandex to help see if your code is correct. Keep in mind that sometimes different itemprops are children of other itemprops. It can get confusing, but these tools will help guide you.

        Hope these help! Good luck!

        PatrickDelehanty 1 Reply Last reply Reply Quote 1
        • PatrickDelehanty
          PatrickDelehanty @PatrickDelehanty last edited by

          Hi again

          This is definitely not correct...

          _span itemprop=" name drugClass" _

          It should read...

          <span < span="">itemscope itemtype="http://schema.org/DrugClass">

          Here is the DrugClass example.

          But please, also use the testing tools above!</span <>

          1 Reply Last reply Reply Quote 2
          • Martijn_Scheijbeler
            Martijn_Scheijbeler last edited by

            Probably a better alternative would be:

            antiepileptic drug

            1 Reply Last reply Reply Quote 1
            • CMIMedia
              CMIMedia last edited by

              Thanks guys.

              The website is still on a dev server, so I can't use the testing tool, but I will absolutely add that to my list of go-to's.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Onsite Videos- Multiple on a Single Page- How to Optimize?
                0
                1
                52

              • Single topic website or as part of a multiple topic website?
                benesmartin
                benesmartin
                0
                2
                60

              • Pull multiple link data for multiple pages at once?
                GlobeRunner
                GlobeRunner
                0
                3
                121

              • Can I Use Multiple rel="alternate" Tags on Multiple Domains With the Same Language?
                LampsPlus
                LampsPlus
                0
                3
                397

              • I currently have a client that has multiple domains for multiple brands that share the same IP Address. Will link juice be passed along to the different sites when they link to one another or will it simply be considered internal linking?
                Nobody1560986989723
                Nobody1560986989723
                0
                6
                739

              • How to Target Multiple Keywords in Single Page
                EGOL
                EGOL
                0
                5
                1.7k

              • Redirecting multiple websites to a single website
                FrankWickers
                FrankWickers
                0
                5
                1.1k

              • Optimising a website for multiple keywords and multiple towns
                Gareth_Cartman
                Gareth_Cartman
                0
                6
                1.2k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy