Complete the code to add a Bootstrap thumbnail class to the image.
<img src="image.jpg" alt="Sample Image" class="[1]">
The correct Bootstrap class for image thumbnails is img-thumbnail. It adds a border and padding to the image.
Complete the code to make the image responsive with a thumbnail style.
<img src="photo.png" alt="Photo" class="img-thumbnail [1]">
Bootstrap 4 and later uses img-fluid to make images responsive, scaling with the parent container.
Fix the error in the thumbnail image code by completing the class attribute.
<img src="avatar.jpg" alt="User Avatar" class="[1]">
The correct way is to combine img-thumbnail and img-fluid separated by a space. This applies both thumbnail styling and responsiveness.
Fill both blanks to create a responsive thumbnail image with alt text.
<img src="landscape.jpg" alt="[1]" class="[2]">
The alt attribute should describe the image, e.g., 'Beautiful Landscape'. The class should be 'img-thumbnail' to style the image as a thumbnail.
Fill all three blanks to create a responsive thumbnail image with alt text and rounded corners.
<img src="profile.png" alt="[1]" class="[2] [3]">
The alt text should describe the image, e.g., 'User Profile Picture'. The classes img-thumbnail and img-fluid make the image a responsive thumbnail. The rounded class adds rounded corners but is not required here.