added html tag presence checker