Improve HTML element hierarchy.