added text style, color, and family to p and h