added html validation