Question: do img tags need to be closed?
Answer: The <img> tag represents what is known as a void element (see HTML5 spec), so called because it can't have any contents (unlike, say <a> or <div> ). Therefore there is no syntactic reason why it should need to be closed in HTML. XHTML, however, is based on XML, where every tag needs to be closed.