web page source cleanup

is it possible to pass webpages to remove all tag style information, but leave the tag...

say I have

<h1 style='font-size: xxx; color: xxxxxx'>headline 1</h1>

i want to get

<h1>headline 1</h1>

BTW, i got an oneliner here to remove all tags:

sed -n '/^$/!{s/<[^>]*>//g;p;

Thanks a lot.

You tried this?

sed -n  's/ style=[^>]*//p;d'

come on. style=... is just an example. html style formats can be really complicated. like <h1 align=center>headline 1</h1>

come on!!

sed -n  's/ .*=[^>]*//p;d'

thanks man. how i forgot the =. ty