Normalizing and reset the html elements