prepare html layout