added validation check html