In: Computer Science
1) Discuss the different image formats and the advantage of using them in the webpages, and discuss how they can use the CSS files to design websites and create their own style rules?
Image Format -
Image file organize and store digital image. Image file generally stores data in compressed, uncompressed or vector format.
Formats are -
CSS stands for cascading style sheet .it is used for design purpose .HTML adds image to web page while CSS only controls design . background-image property is used to set image on background . background-color sets the background color and background-repeat repeats the first image.
Example -
body {
background-image: url("abc.gif");
background-repeat: repeat;
background-color: #cccccc;
}
Height , background-position , background-size are other tags to design image .