Quantcast
Channel: Programming – Programming blog – website programming blog, blog on website programming .net, java , php and mor
Viewing all articles
Browse latest Browse all 31

To set an background Image and repeat the image Horizontally using CSS

$
0
0

<html>
 <head>
 <style type="text/css">
 body
 {
 background-image:urlC:\Users\systemuser\Pictures\flower.jpg');
 background-repeat:repeat-x;
 }
 </style>
 </head>
 <body>
 <h1>Hai Friends!!</h1>
 </body>
 </html>

Output:

The image in the given URL will be set as the Background  with the Text “Hai Friends!!”.


Viewing all articles
Browse latest Browse all 31

Trending Articles