Accordion Example
This is an example of an accordion component using HTML and CSS.
Default Accordion
This accordion allows multiple items to be open at the same time.
Accordion Item #1
This is the first item's accordion body.
Accordion Item #2
This is the second item’s accordion body.
It is hidden by default.
Accordion Item #3
This is the third item's accordion body.
Accordion with Single Open Item
This accordion allows only one item to be open at a time.
Accordion Item #1
This is the first item's accordion body.
Accordion Item #2
This is the second item’s accordion body.
It is hidden by default.
Accordion Item #3
This is the third item's accordion body.