Rearranged HTML code