Bootstrap 4 image replacement is used to replace an element text content with a background image.
<h1 class="text-hide">Text declare </h1>
<h1 class="text-hide" style="background-image: url('image link');
background-repeat: no-repeat;
width: 500px; height: 500px; ">
google
</h1>