Html attributes and example views using statement refactor