Rewrite the HTML Code