HTML background image | How to add background image in html


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>
</html>
Run



Note-

Background image must specified with body tag .


Please Share
Techno Smarter Developer
Web & App Developer
Techno Smarter Developer
Need help with a website or app? We build scalable web & mobile solutions and help businesses turn ideas into working products. Get quick expert guidance.
Free consultation • Fast reply

Recommended Posts:-


Live Chat

Hello! How can we assist you today?