|
|
If you want the entire page to have a background image, you must specify the background image on the |
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url('https://itupto.com/uploads/demo/2023-09-09-13-56-16-untitled.png');
}
</style>
</head>
<body>
<h2>Background Image</h2>
<p>By default, the background image will repeat itself if it is smaller than the element where it is specified, in this case the body element.</p>
</body>
</html>
Category: | Web Tutorial |
Sub Category: | HTML Background Images |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference