Extract style from html attrs