Title: FAQ Block &#8211; HTML Code
Last modified: June 5, 2019

---

# FAQ Block – HTML Code

 *  Resolved [Erez Speiser](https://wordpress.org/support/users/erezspeiser/)
 * (@erezspeiser)
 * [7 years ago](https://wordpress.org/support/topic/faq-block-html-code/)
 * Hi
 * I used the FAQ Schema block.
    In one of the answers I wanted to use a list (
    1.  codes)
        I tried with the code option, but the code appeared as text. I edited
       the HTML manually and added the code. that worked, but when I open the page 
       again the block editor it detects this as an error.
    2. Any solution?
    3. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffaq-block-html-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Pcosta88](https://wordpress.org/support/users/pcosta88/)
 * (@pcosta88)
 * [7 years ago](https://wordpress.org/support/topic/faq-block-html-code/#post-11627140)
 * Hi,
 * Yoast does not have an easy way to add a list inside of a FAQ block. You will
   need to experiment and edit the HTML of the block to add it. Most likely, you
   will need to add the right list tags `<li>` and `</li>` before the div tags.
 * See image here for an example: [https://pasteboard.co/IiVEISc.png](https://pasteboard.co/IiVEISc.png)
 * Or the code below:
 *     ```
       <div class="schema-faq wp-block-yoast-faq-block"><div class="schema-faq-section"><strong class="schema-faq-question">Question 1 </strong> <p class="schema-faq-answer">Answer 1 <li> One </li> <li> Two </li> </p> 
   
       <strong class="schema-faq-question">Question 2 </strong> <p class="schema-faq-answer">Answer 2 <li> ABC </li>
   
       </div> </div>
       ```
   
 * When we used that code, it appeared correctly on the front end. See image: [https://pasteboard.co/IiVF3BY.png](https://pasteboard.co/IiVF3BY.png)
 * However, we thank you for suggesting a new feature for one of our plugins. We’re
   not working on it at the moment but we’ll create a feature request for making
   adding a list inside of a FAQ block easier, so our developers can consider this
   when planning updates.
 * In the meantime, we suggest signing up for our newsletter as that is where we
   will announce product changes and updates. You can sign-up for it here [https://yoast.com/newsletter/](https://yoast.com/newsletter/).
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [7 years ago](https://wordpress.org/support/topic/faq-block-html-code/#post-11653715)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘FAQ Block – HTML Code’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [list](https://wordpress.org/support/topic-tag/list/)

 * 2 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/faq-block-html-code/#post-11653715)
 * Status: resolved