প্রতিক্রিয়াশীল চিত্রের জন্য প্রস্থ বৈশিষ্ট্য 100% সেট করুন। আপনার ছবিকে প্রতিক্রিয়াশীল করতে আপনি নিম্নলিখিত কোডটি চালানোর চেষ্টা করতে পারেন
উদাহরণ
<!DOCTYPE html>
<html>
<head>
<meta name = "viewport" content="width=device-width, initial-scale = 1.0">
<style>
img {
width: 100%;
height: auto;
}
</style>
</head>
<body>
<p>To check the effect, you need to resize the browser.</p>
<img src = "https://www.tutorialspoint.com/python/images/python-data-science.jpg"
alt = "Python Data Science" width = "400" height = "300">
</body>
</html>