- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Usage of background-image property in CSS
The background-image property is used to set the background image of an element.
Example
You can try to run the following code to learn how to work with the background-image property:
<html> <head> <style> body { background-image: url("/latest/inter-process-communication.png"); background-color: #cccccc; } </style> <body> <h1>Hello World!</h1> </body> </head> <html>
- Related Articles
- Usage of background property in CSS
- Usage of background-repeat property in CSS
- Usage of background-position property in CSS
- Usage of background-color property in CSS
- Usage of background-attachment property in CSS
- CSS background-image property
- Usage of CSS list-style-image property
- CSS background property
- Usage of font property in CSS
- Usage of direction property in CSS
- Usage of color property in CSS
- Usage of CSS visibility property
- Usage of CSS grid property
- Usage of CSS perspective property
- CSS Multi background property

Advertisements