Refactoring HTML structure.