Computer Science, asked by mohdkaif1125, 1 year ago

CSS property used to change the background colour

Answers

Answered by gayatrig382
6

Yes. CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.


mohdkaif1125: its urgent
mohdkaif1125: plzz ans me my some question
gayatrig382: Ok
mohdkaif1125: plzz help meh
gayatrig382: Ask ur question
mohdkaif1125: i am post the questions
mohdkaif1125: see my questions
mohdkaif1125: its very urgent
mohdkaif1125: plzzz
mohdkaif1125: quick
Answered by Anonymous
10


u can change background color of a page or headings paragraph etc.

for example u want to change background color for h1

the code is -

<h1 style ="background-color:green;"> BeStUsErOfBrAiNlY </h1>

u can do the same for other things.

u can also make separate css file and attach with the main one. there it'll be easy.

u can simply make changes there..

using the above example,

in css page -

h1 {
background color:green;
}


mohdkaif1125: ans plzz
mohdkaif1125: sir
mohdkaif1125: yes sir
mohdkaif1125: moring mai chahiye mujhe
mohdkaif1125: wht problems
mohdkaif1125: 6 0 clock toh.jana h sir
Similar questions