implementing html and tabs