Lots of JavaScript libraries are developed to give us additional interactive widgets on websites. Equally, HTML5 has also interpreted a number of popular interactive components, making them into native web features. In this post, we are going to look into one such element called (and in doing so the element) which gives us an interactive widget similar to an accordion. Using and The element can be used anywhere within the scope of the . TO give a simple example, we may add it this way: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptas, impedit. The above example shows the element containing a paragraph, highlighting its similarity to other HTML sectioning elements
↧