Optimize the HTML structure.