Reformatting the HTMLs