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

[html]

<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>

[/html]

Output:

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

No comments yet.

Leave a comment

Request a Free SEO Quote