image in html bootstrap code example
Example 1: bootstrap 4 center image
<img class="mx-auto d-block" src="https://www.w3schools.com/bootstrap4/paris.jpg" alt="https://www.w3schools.com/bootstrap4/paris.jpg"/>
Example 2: bootstrap Image thumbnails
In addition to our border-radius utilities, you can use
.img-thumbnail to give an image a rounded 1px border appearance.
<img src="..." alt="..." class="img-thumbnail">
Example 3: How to insert an image in bootstrap 4
<img src="path to image" class="description" alt="Rounded Image">
Example 4: responsive svg with bootstrap
.svg-container {
display: inline-block;
position: relative;
width: 100%;
padding-bottom: 100%;
vertical-align: middle;
overflow: hidden;
}