CSS IN HTML
CSS Backgrounds The CSS background properties are used to add background effects for elements. In these chapters, you will learn about the following CSS background properties: background-color background-image CSS background-color The background-color property specifies the background color of an element. Example The background color of a page is set like this: <html> <head> <style> body { background-color: lightblue; } </style> </head> <body> <h1>Hello World!</h1> <p>This page has a light blue background color!</p> </body> </html> With CSS, a color is most often specified by: a valid color name - like "red" a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" CSS background-image The background-image property specifies an image to use as the background of an element. By default, the image is r...