How to add background image in html page. Please write a code don't copy paste.
Anonymous:
Pls unblock me aditi
Answers
Answered by
1
It's better to add a background image using CSS:
HTML:
<body background = "Lotus.jpeg">
CSS:
body
{
background-image:url('Lotus.jpeg');
background-repeat:no-repeat;
background-attachment:fixed;
}
Hope this helps!
HTML:
<body background = "Lotus.jpeg">
CSS:
body
{
background-image:url('Lotus.jpeg');
background-repeat:no-repeat;
background-attachment:fixed;
}
Hope this helps!
Similar questions