Refactoring html.