

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
img-thumbnail Bootstrap class
Use the .img-thumbnail Bootstrap class to add thumbnail to images.
You can try to run the following code to implement the img-thumbnail class:
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Images</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <p>Styling images with Bootstrap</p> <h1>Original Image</h1> <img src = "https://www.tutorialspoint.com/videotutorials/images/tutorial_library_home.jpg"> <h1>Thumbnail Image</h1> <img src = "https://www.tutorialspoint.com/videotutorials/images/tutorial_library_home.jpg" class = "img-thumbnail"> </body> </html>
- Related Questions & Answers
- Bootstrap thumbnail class
- img-rounded Bootstrap class
- Img-circle Bootstrap class
- Bootstrap 4 .card-img-top class
- Bootstrap 4 .card-img-overlay class
- Bootstrap 4 .card-img-bottom class
- Image Thumbnail with Bootstrap
- Usage of Bootstrap thumbnail
- Add a caption text inside a thumbnail class
- Bootstrap progress class
- Bootstrap .card class
- Bootstrap .pagination class
- Bootstrap lead class
- Bootstrap table class
- Bootstrap checkbox class
Advertisements