Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery removeAttr() method</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("p").removeAttr('style title'); }); }); </script> </head> <body> <div> <p style="background-color: yellow; text-align: center;" title="First Paragraph">First paragraph start here...</p> </div> <button>Click here to call removeAttr() method</button> </body> </html>
  Preview Arrow