<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Removing Classes from the Elements in jQuery</title> <style> .page-header{ color: blue; text-transform: uppercase; } .highlight{ background: pink; } .hint{ font-style: italic; } </style> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("h1").removeClass("page-header"); $("p").removeClass("hint highlight"); }); }); </script> </head> <body> <h1 class="page-header">jQuery removeClass() Method</h1> <p>Equally, the removal of classes from elements can be achieved using the jQuery removeClass() method. This method offers the capability to eliminate either a single class, multiple classes, or all classes concurrently from the selected elements.</p> <p class="hint highlight"><strong>Tip:</strong> The removeclass is dummy text.</p> <button type="button">Remove Class</button> </body> </html>