Home
CSS
RWD Images
Tryit: Responsive image
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> img { 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 will scale.</p> </body> </html>