<h2>可折叠实例</h2> <ul class="accordion" data-accordion=""> <li class="accordion-navigation"> <a href="#demo">简单的可折叠实例</a> <div id="demo" class="content active"> W3Cschool教程 -- 学技术,从W3Cschool开始! </div> </li> </ul> <!-- 初始化 Foundation JS --> <script> $(document).ready(function() { $(document).foundation(); }) </script>