Expand/Collapse Widget Examples

Section 1: Basic Content

This is the content that will be shown or hidden when the header is clicked. It can contain any HTML elements like paragraphs, lists, images, etc.

Click the header above to toggle this section.

Section 2: Another Piece of Information

This is a different section with a list inside.

Section 3: With a Link

Here is some text, followed by a sample link.

The expand/collapse functionality works regardless of the content.