accordion.html

<ul id="accordion"> <li> <a href="#tab1"><h2>Box One</h2></a> <section id="tab1" class="content"> <p>Content for Box One</p> </section> </li> <li> <a href="#tab2"><h2>Box Two</h2></a> <section id="tab2" class="content"> <p>Content for Box Two</p> </section> </li> <li> <a href="#tab3"><h2>Box Three</h2></a> <section id="tab3" class="content"> <p>Content for Box Three</p> </section> </li> </ul>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.