'How do I have to declare copyright on my Website?

I have a Javascript, Html and Css Website and have some Pictures that aren't mine. Now I have the Question how is the correct way how you give credits. I just want to be on the safe Site. For now I made a direct link to the Photo.

Here is the code :

<img src="bild.jpg" alt="" width="400" height="500" title="a picture"> <div></div>

<p title="Copyright">
     <a href="https://unsplash.com/photos/cMcake-xZVY">Link to the Picture</a></p>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source