refactored Html.