remove all inline styles javascript code example Example: remove all inline css jquery $('div').attr('style', '');