Fit a picture in a div


Hey everyone,

I have a problem regarding HTML&CSS. How do I fit a picture in a div? E.g. The picture is bigger than the div. How do i resize it?



By adding in width and height, If you are using bootstrap than there's a class for responsive image
<img src="" width="50px" height="10px" />

Img without editing size:

editing size:


It worked. Thank you.