Adjusting HTML structure