Jump to content

How to remove "style=" attribute?


pstein

Recommended Posts

Assume I have a web page which contains multiple elements similar to

<span style="font-size: medium;">....</span>

How can I remove the "style=" attribute for all the elements?

Overwriting with a neutral value and !important would be acceptable as well.

The element <span> itself should still persist

Peter      

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...