^ Responding to your question.
The [IMG] tags arent only used for images, it is also used for .gif. A .gif file is an image that is animated in a way. HTML considers it as it is still a Image so it lets itself include that .gif/.png/.jpg file. Kinda hard to explain, but hope that helped.