FAQ Schema Microdata Code Snippet

Get FREE Marketing Guides & Templates
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>
    <!-- /.faq-question -->


Written by: Jake Lett
I share digital marketing tips and HubSpot tutorials to help marketers and business owners grow their business.


Related posts


Want to Get Email Updates of New Articles?

Join My Email Newsletter