+ 2
How to specify where a image come from?
How to specify where a image come from in CSS?
2 ответов
+ 3
Please elaborate your question.
CSS cannot add images ? Unless, you're putting one in the background.
You can add images in HTML using the <img> tag and its url.
+ 1
HTML
<div id="div">test</div>
CSS
#div {
background-image: url('path-to-image');
}