Make the HTML valid