If you want to make an accordion, this code will help you to make a dynamic accordion using HTML, CSS and Jquery.
An accordion is a stacked list of items. Each item can be "expanded" or "stretched" to reveal the content associated with that item.
On clicking a particular item, the content related to it expand below and on further click it will hide the content.
Below is the code to create accordion:
<li>Products is simply dummy text of the printing and typesetting industry. Products has been the industry's standard dummy text ever since the 1500s. Don't want to send days or weeks. You can use our Professional form.</li>
<li>Contrary to popular belief, Products is not simply random text. YOu can change two parts of this. This is used to capture the form submissions and send you an email. A Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur,</li>
<li>It is usually a good idea to give your forms a name the value of this field. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</li>
<li>Finally i got the idea to get of every form should allow users to option of submitting form . If you are going to use a passage of Products, you need to be sure there isn't anything embarrassing hidden in the middle of text.</li>