FAQ Schema Microdata Code Snippet


FAQ Schema Microdata Code Snippet

Below is a FAQ microdata schema code template you can copy and paste and add to your page HTML. You would repeat the .faq-question div block for each QA answer set. Once you are done adding your markup you can test it in the Google schema tester.

If you are using WordPress, I noticed the rich text editor strips out the important microdata code. I found this plugin that prevents this and makes it work as it should.

<div class="schema-faq-code" itemscope="" itemtype="https://schema.org/FAQPage">
    <h4>Frequently asked questions</h4>
    <hr />
    <!-- repeat question blocks as needed -->
    <div itemscope="" itemprop="mainEntity" itemtype="https://schema.org/Question" class="faq-question">
        <h3 itemprop="name" itemprop="name" class="faq-q">Question text</h3>
        <div itemscope="" itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
             <p itemprop="text" itemprop="text" class="faq-a">Answer text</p>
        </div>
    </div>
    <!-- /.faq-question -->
</div>

 


About the Author

Jake Lett is a results-driven Detroit based B2B marketing consultant with 15+ years of hands-on experience managing SEO and PPC campaigns across manufacturing, SaaS, and professional services industries. He’s a Certified Google Ads Specialist and HubSpot CMS Developer who has personally managed budgets ranging from $500 to over $10,000/month.

Jake specializes in helping small businesses and solo marketers get more from lean ad budgets—using practical strategies that drive qualified leads, not just traffic. He shares real-world lessons on his blog, YouTube channel, and in his published books on digital marketing.



Related posts

Tags:

Want to Get Email Updates of New Articles?

Join My Email Newsletter