Wednesday 1 March 2017

Inserting image or changing color of background and font.

Background color- This attribute allows the user to specify a solid background color.
Where to use- <body bgcolor="red">
you can use any color we want to use.
Background Image-This attribute allows the user to use an image for background.
How to use- <body background="file(image) name opened with any web browser">
Text- This attribute is used to control the color of all normal text in the document. To change text color for a part of page use font tag with a color attribute.
Coding for example-

Result-

Now coding for background image-
See how to open the image with any web browser-
 Result-