Background does not appear [HTML5] [closed]

-2

(Resolved) I do not know what I did, I just know it's working now: thinking:

Good morning / afternoon / evening. I started studying Html5 this week, but I ended up getting stuck in the time to insert a background image into the project. I have tried to put the entire directory of the image, however it still does not work ... Here is a part of the code in question

<!DOCTYPE html>
<html lang="pt-br">
<head>
  <meta charset="UTF-8"/>
  <title>Google glass foi uma bosta</title>
  <style>
    body {
	
	background-image: url("site-background.jpg");
	background-color: gray;
	color: black;
	}
    p {
	    text-align: justify;
		text-indent: 50px;}
  
  
  </style>
</head>
<body>
    
asked by anonymous 30.09.2018 / 03:03

1 answer

-2

Try to put her in the body. Take that test. If the image appears something wrong with the style tag.

  

img src="images / photo.png"   width="330" height="202"   

    
30.09.2018 / 06:45