<body> <p>This is example for star selector.</p> <p>It is also known as Universal Selector.</p> <p>Star Selector selects all the elements on the document.</p> <input type="button" id="myButton" value="Click" /> <input type="button" value="Reset" onclick="location.reload()" /> </body>
$(document).ready(function () { $("#myButton").click(function () { $("*").css("font-family", "comic sans ms").wrap("<h2>"); }); });