HTML background image |How to add background image in html

Techno HTML5

Background image represents the background of the page.

The background is done by the direct background -

The following example will show you how to display the background image of the page.


HTML background image


<!DOCTYPE>
<html>
<head>
<title>Type of Heading Tags </title>
</head>
<body background="myimage.jpg">
</body>
</head>
</html>
Run



Note- Background image must specified with body tag .