Computer >> Computer tutorials >  >> Programming >> Javascript

Usage of background property in CSS


The background property is used as a shorthand to specify the number of other background properties such as image, position, repeat, etc.

<html>
   <head>
   </head>
   <body>
      <p style = "background:url(/https/www.wsxdn.com/images/pattern1.gif) repeat fixed;">
         This parapgraph has fixed repeated background image.
      </p>
   </body>
</html>