Set the background image


In the index.html, I am trying to set the background image using the link, but the image would not show up correctly. Please check the code.

<!DOCTYPE html>

    <link href="" rel="stylesheet">
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="main.css">


Background images are set in the CSS file using:

background-image: url(image-url-goes-here);

You put that property in the selector for the element that you want to have a background image.

Any questions? Just ask.