valdating html content before designing in progress