CSS Backgrounds

Background can be filled with colored images, clipped, resized, and otherwise modified.

Properties of CSS

  • Background color
  • Background images 
  • Background repeat 
  • Background attachment
  • Background position
EXAMPLE:
<html>
<head>
<title>
<head>
<style>
h1{
    background-color:yellow;
}
body{
 background-color:pink;
}
</style>
</head>
<body>
<h1> myself learn2done<h1>
</body>
</html>