closed <img> and <input> tags in html5 output