Hello, recently i have been having terrible trouble uploading .jpg images onto a html background image (Which displays an image as the background). I got a code from W3Schools to help me insert an image as a background using .jpg as my image link. I inserted the .jpg link and it worked the forst time but then it would not load or stay again and would just dissapear and leave me with a white normal boring background. The code by W3Schools is below. I did remove the text inbetween <h1> and </h1> So the sentence “Hello World” would not appear and i also obviously inserted my .jpg image link but thats it. If anybody knows what is wrong please help me. The ”bgimage.jpg is not the link i inserted by the way it is a different .jpg link.
<html>
<body background="bgimage.jpg">
<h1>Hello world!</h1>
<p><a href="https://www.w3schools.com">Visit W3Schools.com!</a></p>
</body>
</html