+ 1
How can i put pictures as my background??
👆👆👆
6 Antworten
+ 2
you should put this ; <background src="here put the patch of image">
0
tag_name {
background-image: url(" ");
}
0
vipul walia, can you give me an example url??
0
Sure
When using the url() value, you have three choices:
relative path based on the root domain of the CSS file
— begin with a slash (/) as shown aboverelative path based on the immediate directory of the CSS file
— no slash ( url(path/to/image.png) )absolute URL,
if you are linking to an external resource
—url(http://example.com/path/to/image.png)
Remember that the relative URLs are relative to the CSS file, not the page.
Example taking multiple image urls
body {
background-image: url("img_tree.gif"),url("img_flwr.gif");
background-color: #cccccc;
}
0
body{
background-repeat:no repeat;
background:url("") ;
background-attachment:fixed;
}
0
YOU TYPE THIS IN
<img src=URL alt="" />
and online pitcher link will go into the URL spot
IN HTML!!!!