html tag improvements

Better compatibility