The CSS Background Properties is used to change the background of elements. The elements can be - ü html ü body ü footer ü H1,H2 and so on ü div ü P ü Your custom elements and so on This property is supported most of browsers like IE, chrome, safari etc. /* For HTML background color*/ html { background : white ; } /* For HTML body background*/ body { background : white ; background-image : url ( "background.gif" ); background-repeat : repeat-x ; } /* For HTML body footer*/ footer { background : black ; } /* For HTML H1 tag background color*/ h1 { background : green ; } /* For HTML div background color*/ div { background : lightblue ; } /* For HTML page P background color*/ p { ba...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers