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
              • Should I implement Structure Data Markup before implementing AMP?
                Leebi
                Leebi
                0
                5
                52

              • 2 Title elements on a single page
                Ciceron_main
                Ciceron_main
                0
                3
                50

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

              • Consolidating Multiple Domains into A Single Domain
                dbaxa-261338
                dbaxa-261338
                1
                6
                1.7k

              • Handling Multiple Domain 301 Redirects on Single htaccess file
                Andy.Drinkwater
                Andy.Drinkwater
                0
                2
                291

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

              • Managing Subsidiaries. Should I house them all in a single domain? What about a single social media presence?
                MeasureEverything
                MeasureEverything
                0
                11
                1.8k

              • 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