- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Image Thumbnail with Bootstrap
To add a thumbnail to the image, use the .img-thumbnail Bootstrap class.
You can try to run the following code to add a thumbnail to images
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 Articles
- Create thumbnail image with CSS
- Bootstrap thumbnail class
- img-thumbnail Bootstrap class
- Usage of Bootstrap thumbnail
- How to create a thumbnail image CSS?
- Make image round with Bootstrap
- Make an image responsive with Bootstrap
- How To Test Thumbnail Options With Adwords For YouTube Videos?
- Turn an image into a Bootstrap 4 card background
- How to add image before optgroup label using Bootstrap?
- Add a caption text inside a thumbnail class
- How to get activity thumbnail size in android?
- How to get launcher thumbnail size in android?
- Striped Table with Bootstrap
- Show content with Bootstrap

Advertisements