Implemented self-closing img tag