reformatted html considering html5 standard