Answers for "how do you put a background image in html?"

CSS
-1

Add background image html

<!-- Background image -->
<div class="bg-image" style="
      background-image: url('https://mdbootstrap.com/img/new/standard/city/041.jpg');
      height: 100vh;
    "></div>
<!-- Background image -->
Posted by: Guest on August-08-2021

Code answers related to "how do you put a background image in html?"

Browse Popular Code Answers by Language