background-image: url(***);
Browser |
|
---|
The background-image property specifies the background image of an element.
The background image of the horizontal rule can be specified by applying this property to the HR element.
hr {
background-image: url(image/back.gif);
height: 10px;
}
Property | Value | Explanation |
---|---|---|
background-image | url(URL) | the URL of the image to display |
The background-repeat and background-position properties can be specified at the same time.