Make img tag compliant to the standard html