<html>
<head> heading of the documents.
<title>Page Title</title>
</head>
<body background="location of image\name of the image.format of image">
body part of documents....
</body>
</html>
Details:-
The background attribute specifies a background image for a document.
Document:-
<html>
<head>set background image of document.
<title>background image</title>
</head>
<body background="C:\Users\acer\Desktop\fish.jpg">
<h1>Hello world!</h1>
<p>The background attribute is not supported HTML5.</p>
</body>
</html>
Here:-
location/path of image:C:\Users\acer\Desktop\fish.jpg
image name:fish.jpg
format of image: .jpg
the format of image also .gif, .png, .bmp, etc..