<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
img {
    max-width: 100%;
    height: auto;
}
</style>
</head>
<body>

<img src="img_chania.jpg" width="460" height="345">
<p>Resize the browser window to see how the image wil scale when the width is less than 460px.</p>

</body>
</html>
 

Resize the browser window to see how the image wil scale when the width is less than 460px.