Working on backgrounds

background-color

It decides the color of the background of the div. We have seen numerous examples of it in our previous examples.

background-image

We provide the path of the image to be used as background-image of the container. We will give an example

background-repeat

It is advisable to find a repeating pattern in an image and extend it in a way to fill up the entire space. Repeating a quantity reduces the size of the image which is loaded. So, its very useful. We can repeat an image either in x or in y or both. Lets see some examples now :-

		
		
		

This is some text in para 1

This is some text in para 2

This is some text in para 3

This is some text in para 4

Hence, we can now play with various images. Lets see some other important elements like table, lists , links etc.

Member Login

Member Login




Not a Member? Sign Up!




Login to comment

Be the first to comment on this topic







  


<<< Wanna review

Continue >>>