# Inline
![Alternative text](/path/to/img.jpg "Optional title")
# Reference
![Alternative text][id]
[id]: url/to/image "Optional title"
As you may have noticed, images in Markdown are very similar to links. The difference is that:
Here's a quiz about markdown images.
Select the valid images:
[Google logo](https://www.google.ru/logo.png)
![](https://www.google.ru/logo.png)
Images must be prefixed with an exclamation mark. The alternative text and a title are optional.
What is true about the following line: ![Funny cat](http://cats.ru/funny.png "Share this")
Similarly to links, images can have 3 parts: the alternative text, the url and a title. An exclamation mark is nesessary.