adjust HTML structure