Ask coding questions

← Back to all posts
How to add Background Image
Marlone (8)

How to i add a background image for my website. For sometime now i've begun a new project but i have recently had difficulty in adding a background image for my website. Can anyone pls tell me how you can add a background image to your website

DynamicSquid (5031)

Add this in your body tag: <body background="IMAGE">

So it should look something like this:

<body background="IMAGE">
          <div class="hero-text-box">

Hopefully this helps!