fix html tag attribute