Start your 7-day DocuRise trial →
DocuRise Help Center

Can I make an FAQ in an HTML post where answers expand when you click a question?

Yes. Accordions made with details and summary tags stay in place after you save.

Open settings ↗

Yes. You can make an FAQ where clicking a question shows the answer and clicking again hides it. This kind of open-and-close section is called an accordion.

Besides FAQs, you can use it for a curriculum where clicking a lesson title shows the details, or for a guide where readers open each item one at a time.

How to add one

  1. Choose Post under New, then click Edit as HTML.
  2. Wrap the content you want to collapse in a <details> tag.
  3. Put the title in a <summary> tag right inside <details>.
  4. Save.

Example: <details><summary>When will I get the guide?</summary><p>We email it right after you sign up.</p></details>

Visitors can open and close it by clicking the title or using the keyboard. You don't need to add any script.

To show it open by default

Add the open attribute, like <details open>.

To start collapsed, remove the open attribute. Writing false after open still starts it expanded.

Posts saved before this change

Posts saved before this feature existed aren't updated automatically.

If the accordion was removed when you saved, or you built something similar with links, edit the HTML and save it again.

Content shown after email verification

Content set to appear after email verification stays hidden until the visitor verifies, even inside an accordion.

Still need help?

Tell us what you need help with and which screen you are using.