Restructures the HTML tabbing.