Improved conditional html tags header