<body> <h3>This is h3 element.</h3> <p>This is paragraph element.</p> <div>This is div element.</div> <span>This is span element.</span><br/><br /> <button id="myButton">Click Me</button> <button onclick="location.reload()">Reset</button> </body>
$(document).ready(function() { $("#myButton").click(function() { $(":header").css({'font-size':'20px','background-color':'Orange'}); }); });