+ 1
How can we use a picture as a background instead of a color? Is something like that only available in CSS?
4 ответов
+ 2
u can also directly set the image without using curly braces or the CSS syntax
<body background="src">
+ 1
background="src"
src---path/source of the image
no, it is also available for HTML file also
+ 1
yes it is CSS property but u can do this in Ur HTML code use this in head section
<head>
<style>
body {
background-image: url("link of images");
}
</style>
</head>
...
0
Thank you for the answers :)