Example 1: html faq
<html> <body bgcolor="E1C699"> <ul> <li><strong>What is (WEBSITE)?</strong> <br> <br><em><strong>(WEBSITE)</strong> is a/an (DEATILS).</em><br></li> <br><li><strong>How do I post a (na)</strong> <br> <br><em>To create a (na), simply, go to the <strong>(website) homepage</strong> and click "Create a (na)"</em></li> </ul> <style> body { background-color: navy; } </style> </body> </html>
Example 2: on button click show collapse div jquery
$(function() { var b = $("#button"); var w = $("#wrapper"); var l = $("#list"); b.click(function() { w.toggleClass('open'); }); });
Comments
Post a Comment