DEV Community

Vijay SRJ
Vijay SRJ

Posted on

2

How to create an accordion in HTML5?

No javascript and No div elements required to create accordions in HTML5.

HTML5 gives the tag for creating accordions.

A short post on it:

https://fullstackdeveloper.guru/2020/10/08/how-to-create-an-accordion-in-html5/

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay