Summary tag

Accordion with HTML5

This post i will show you HTML5 tag you probably don’t know that exists and it behaves like accordion which means that without using JavaScript we can created accordion or similar type of functionality. <details class=”accordion-item p-2″>         <summary>Accordion Item #1</summary>         <div class=”accordion-body”>           It is shown by default, until the collapse plugin adds the appropriate           classes that we use to style each element. These classes control the           overall appearance, as well as the showing and hiding via CSS…