Validate the HTML more thoroughly