Click the above button to add a style attribute to HTML element using jQuery attr () method. jQuery removeAttr () Method To remove or delete all the inline style property from our webpage, we simply use jQuery removeAttr() method. function (index,currentclass) Optional. Found inside â Page 91... Retrieve Attribute